Kbase P79903: How to make a text widget skip a line with 4GL?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/11/2004 |
|
Status: Unverified
GOAL:
How to make a text widget skip a line?
FIX:
It is not possible for text widgets to skip a line.
The best way to work around the problem is to use multiple text widgets or use an editor widget with its read-only and word-wrap attributes set.
Then in the Main block of the window code after the 'RUN enable_UI' set the editor value. For example:
edEditor:SCREEN-VALUE = "AAAAAA" + CHR(13) + "BBBBB" + CHR(13) + "CCCCCC".
The CHR(13) will insert a carriage return in the text string spreading the string over 3 lines.