Problem:
Pprogram has a push-button with a long title to display on two lines but nothing makes it look right. Embedding the carriage-return in the title it still comes out on one line.
Resolution:
Define a working-storage item containing the title and use that working-storage name in the push-button's title property. Make sure to set the multiline property of the push-button.
For example, use this working-storage description:
01 ButtonTitle.
05 LINE1 pic x(5) value "line1".
05 LF pic x(2) value x"0D0A".
05 LINE2 pic x(5) value "line2".
Then a screen-section description of the push-button:
03 Push-Button,
COL 4, LINE 4, LINES 4 CELLS, SIZE 7 CELLS,
MULTILINE, TITLE ButtonTitle.