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

Home » Public Forums » archive » Re: WIDGET_LABEL query.
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 query. [message #61267 is a reply to message #61239] Thu, 10 July 2008 06:11 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
biophys writes:

> The label widget does not seem to understand embedded formatting.
> However, I found the string() function very helpful. The following
> code works for me.:)
>
> mylabel=3D"1stline"+string(byte(13))+"2ndline"
> widget_control, label_id, set_value=3Dmylabel

Wow. That's the last time I say "not possible". :-)

Just be sure you give your widget enough Y size so
you can see the label, if you try this at home.

I'll probably have an article about this later today. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Random windows VM errors
Next Topic: Re: animated iplots

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

Current Time: Thu Oct 09 23:01:49 PDT 2025

Total time taken to generate the page: 0.88132 seconds