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

Home » Public Forums » archive » Re: Strange widget_info(FIND_BY_UNAME...) results
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: Strange widget_info(FIND_BY_UNAME...) results [message #37720] Thu, 22 January 2004 10:57
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
b.hinrichsen@fkf.mpg.de writes:

> I am new to IDL and am suffering from strange return values from the
> widget_info function. My version of IDL is 5.6 (Win2000).
>
> The value of a text widget is to be updated but when i try to get its
> ID with the following code:
> widget_info(Event.top, FIND_BY_UNAME=WID_TEXT_12)
> this is returned:
> { Windows 2000 Win32 5.0}
> and this is the same for all the widgets I try to identify. As far as
> I know this output should only be returned with the /version flag set.
> Nowhere in my source do I use it.
>
> What went wrong? Please help!

Is the variable WID_TEXT_12 a string, by any chance. Or did
you mean this:

id = widget_info(Event.top, FIND_BY_UNAME='WID_TEXT_12')

Strange name. You aren't using that GUI Builder are you?
Heavens!

Cheers,

David


--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Strange widget_info(FIND_BY_UNAME...) results
Next Topic: Re: Extracting ROI without IDL objects is it possible

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

Current Time: Wed Oct 08 20:03:11 PDT 2025

Total time taken to generate the page: 0.42404 seconds