Mnemonics
'CAPTION' Replace Caption for Window
GUI Display
 
Format 'CAPTION'(text)
 
Where:
 
text Replacement caption. String expression.
 
Description Use 'CAPTION'(text) to change the caption for the current window. If the current window does not have a caption and is located at position 0.0, ProvideX replaces the caption on the main window. ('WINDOW' or 'DIALOGUE')
 
To find out the caption for the current window you can use a MULTI_LINE READ
directive with CTL=0, as in MULTI_LINE READ 0,A$.
 
Example 0010 multi_line read 0,a$
0020 print a$
0030 print 'caption'("My Window")
0040 multi_line read 0,a$
0050 print a$