comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: new line problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: new line problems [message #26488] Thu, 06 September 2001 03:36
Alex Schuster is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: new line problems
Next Topic: color bitmap button labels

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:13:14 PDT 2025

Total time taken to generate the page: 0.00476 seconds