.TEXT SET TXT MAX SZ:W
This subroutine sets the maximum width of the text that can be displayed in the "current" Text Object.
Usage:
PASS <max_text_width> FIELD SHARE? N
GOSUB 0CD .TEXT SET TXT MAX SZ:W
* Check for error
IF 0CD .TEXT SET TXT MAX SZ:W NE
Description:
This subroutine sets the maximum width of the text that can be displayed in the "current" Text Object. Text will be wrapped, if necessary. By default, the width of the text box is automatically determined to be the length of the text. This subroutine can be used to limit the width of the text box.
The parameter is optional, if blank or not passed it will be reset to their default value.
<max_text_width> is the maximum width of a line of text, in pixels. Allowed range is 1-99999.
If the text requires a longer width for display, it will be wrapped into multiple lines.
See
.TEXT SET TXT MAX SZ to set the height and width simultaneously or
.TEXT SET TXT MAX SZ:H to set the number of lines.
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2011-11-18