Tags:
create new tag
view all tags

.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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-02-22 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback