Difference: CDTextSetTextMaxSizeHeight (1 vs. 3)

Revision 32012-02-22 - JeanNeron

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CDTextSetTextMaxSizeWidth"
>
>
META TOPICPARENT name="CDChartDirectorTextRoutines"
 

.TEXT SET TXT MAX SZ:H

This subroutine sets the maximum height of the text that can be displayed in the "current" Text Object.

Revision 22012-01-04 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDTextSetTextMaxSizeWidth"

.TEXT SET TXT MAX SZ:H

Changed:
<
<
This subroutine sets the maximum height of the text that can be displayed in the "current" Text Object.
>
>
This subroutine sets the maximum height of the text that can be displayed in the "current" Text Object.
 

Usage:

Line: 23 to 23
 <max_lines> is the maximum number of lines of text. Allowed range is 1-99.

See .TEXT SET TXT MAX SZ to set the height and width simultaneously or .TEXT SET TXT MAX SZ:W to set the maximum width.

Added:
>
>
NOTE: You cannot set <max_text_lines> unless you also set the width via .TEXT SET TXT MAX SZ or .TEXT SET TXT MAX SZ:W. If you do not set width, the setting for <max_text_lines> will be ignored.
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 12011-11-18 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDTextSetTextMaxSizeWidth"

.TEXT SET TXT MAX SZ:H

This subroutine sets the maximum height of the text that can be displayed in the "current" Text Object.


Usage:

      PASS         <max_lines>                FIELD            SHARE? N
      GOSUB    0CD .TEXT SET TXT MAX SZ:H
      *        Check for error
      IF       0CD .TEXT SET TXT MAX SZ:H     NE



Description:

This subroutine sets the maximum number of lines of text that can be displayed in the "current" Text Object. If the text requires more than <max_lines>, the text will be truncated, with the last visible characters replaced with "...".

The parameter is optional, if blank or not passed it will be reset to the default value.

<max_lines> is the maximum number of lines of text. Allowed range is 1-99.

See .TEXT SET TXT MAX SZ to set the height and width simultaneously or .TEXT SET TXT MAX SZ:W to set the maximum width.

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2011-11-18

 
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