Kbase 13827: How to insert a carriage return (linefeed) in editor widget
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
How to insert a carriage return (linefeed) in editor widget
A carriage return (linefeed) character can be placed into an editor
widget by using CHR(10). For example:
FIND FIRST cust.
editor-1:SCREEN-VALUE = cust.address + CHR(10) + cust.address2.
If cust.address = "The White House" and cust.address2 =
"1600 Pennsylvania Avenue", the result in the editor widget will look
like the following:
___________________________________
| The White House |
| 1600 Pennsylvania Avenue |
| |
|___________________________________|
Without the CHR(10) the editor widget would display the text as a
single line:
___________________________________
| The White House1600 Pennsylvania A|
| |
| |
|___________________________________|
Progress Software Technical Support Note # 13827