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

Home » Public Forums » archive » Re: widget_label with multiple lines
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: widget_label with multiple lines [message #54794 is a reply to message #54789] Fri, 13 July 2007 11:48 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Jul 13, 12:47 pm, JD Smith <jdsm...@as.arizona.edu> wrote:
> The following produces a multi-line widget label under Unix and OSX, but
> not Windows:
>
> b=widget_base(/ROW)
> l=widget_label(b,VALUE=string(replicate('test',6)+string(10b ),FORMAT='(6A)'))
> widget_control, b,/realize
>
> Would string([13b,10b]) work under Windows? If not, any other
> recommendation for a multi-line label?
>
> JD

I'm probably not much help, but I tried string([13b,10b]) and it
didn't work.

I also tried: format='(%"%s\r%s\r%s\r%s\r%s\r%s\r")', but it doesn't
work either (neither do \n,\f, nor \v).
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: error in demo
Next Topic: moving an image before another

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

Current Time: Sat Oct 11 13:16:59 PDT 2025

Total time taken to generate the page: 0.23980 seconds