sec : U Re: Carriage Return / LineFeed in Text Widget [message #30898] |
Wed, 22 May 2002 15:39 |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
"Emmler, Oliver" wrote:
>
> Hello,
>
> i want to show the progress of my program i a text widget.
> At the command line i use
>
> print, 'Hello' + STRING(10B) + 'World'
>
> Output:
> Hello
> World
>
> I the text widget i tried the same but i get only a black square instead of
> a LF
>
> info = 'Hello' + STRING(13B) + 'World'
> WIDGET_CONTROL, i_text, SET_VALUE=info
>
> I think theres only a minor change to do, isn't it ?
>
> --
> Oliver Emmler
> University of Heidelberg
> Departement of Radiology
> Phone: +49-6221-7963059 E-Mail: Oliver.Emmler@med.uni-heidelberg.de
Oliver,
You might want to try using the /APPEND keyword to keep adding
new lines of text to the bottom of existing text in the widget.
Andrew
------------------------------------------------------------ ---------
Andrew D. Cool .->-.
Electromagnetics & Propagation Group `-<-'
Surveillance Systems Division Transmitted on
Defence Science & Technology Organisation 100% recycled
PO Box 1500, Salisbury electrons
South Australia 5108
Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@dsto.defence.gov.au
------------------------------------------------------------ ---------
|
|
|