Difference: CDTextSetText (1 vs. 3)

Revision 32012-02-22 - JeanNeron

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

.TEXT SET TEXT

This subroutine is called to set the text for the "current" text object.

Revision 22012-01-11 - JeanNeron

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

.TEXT SET TEXT

Line: 17 to 17
 This subroutine sets the text for the "current" text object.

<text_string> is the text string to be assigned to the "current" text object (300 characters max). If a non-blank <text_string> is passed, then the text is set for the "current" text object. If text has been previously set, then that text is replaced. If a <text_string> is not passed or if blank text is passed, then the text is cleared.

Added:
>
>
If the text is not enclosed in quotes, those will be automatically added and any special characters will be escaped by prefixing a "\" in front. If you want to pass a "\" unchanged, enclose the text in quotes yourself, ie, pass "Some\nText" instead of Some\nText.
 

Comments:

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

Revision 12011-11-17 - JeanNeron

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

.TEXT SET TEXT

This subroutine is called to set the text for the "current" text object.


Usage:

      PASS         <text_string>              FIELD            SHARE? N
      GOSUB    0CD .TEXT SET TEXT
      *        Check for error
      IF       0CD .TEXT SET TEXT             NE

Description:

This subroutine sets the text for the "current" text object.

<text_string> is the text string to be assigned to the "current" text object (300 characters max). If a non-blank <text_string> is passed, then the text is set for the "current" text object. If text has been previously set, then that text is replaced. If a <text_string> is not passed or if blank text is passed, then the text is cleared.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-11-17

 
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