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

Home » Public Forums » archive » text window using widgets
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: text window using widgets [message #18802 is a reply to message #18741] Sat, 05 February 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Alvaro T. (atarela@usc.es) writes:

> David Fanning <davidf@dfanning.com> escribio:
>
>> Uh, I'd use a text widget with the Editable keyword set to 0.
>
> The problem is to put all sort of text in it. I want to put informaton data
> about an image: name, dimensions, units, etc.

I guess I'm not following you at all. That stuff is text isn't it?
Or, at the very least, is can be *made* into text. Why are you
having trouble putting it in a text widget?

dimensions = Size(image, /Dimensions)
newText = 'My Image -- Dimensions: [' + StrTrim(dimensions,2) + ']'
Widget_Control, textID, Set_Value=newText

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Q: Scientific notation in Obj. graphics
Next Topic: Re: Not where

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

Current Time: Sat Oct 11 05:04:55 PDT 2025

Total time taken to generate the page: 1.03819 seconds