Re: new line problems [message #26488] |
Thu, 06 September 2001 03:36 |
Alex Schuster
Messages: 124 Registered: February 1997
|
Senior Member |
|
|
L E Olsson wrote:
> In the GUI-builder (WINDOWS platform) I have a Text Window.
> I want to write two strings at two lines using SET_VALUE.
>
> WIDGET_CONTROL, wText, SET_VALUE='TEXT Line1'+STRING(10B)
> +'STRING(13B)+'TEXT Line2'
>
> Of some unknow reason the ASCII cod for carriage return and new line
> does not have any effect other than writing a symbol( a straight line). I
> get the two
> text strings at the same line. Any suggestion to how to get them on two
> lines in the window?
Use a string array, each element is a line of text:
WIDGET_CONTROL, wText, SET_VALUE=[ 'TEXT Line1', 'TEXT Line2' ]
Alex
--
Alex Schuster Wonko@planet-interkom.de
alex@pet.mpin-koeln.mpg.de
|
|
|