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

Home » Public Forums » archive » sensitivity of individual droplist values?
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
sensitivity of individual droplist values? [message #64339] Fri, 19 December 2008 07:42
Kathleen is currently offline  Kathleen
Messages: 3
Registered: December 2008
Junior Member
Hello.
I am a beginner at IDL programming, and I am trying to build a GUI
for a class project.

My question is concerning droplist widgets. Is there a way to “grey
out” a single value in a droplist, or make a single value “not
sensitive”?

I believe it was on the Davis Fanning website where I read that the
values of a droplist cannot be changed once the widget is realized.
Instead the original widget must be destroyed with a new one created
in its place. I prefer not to do that if I don’t have to.

My first preference would be to be able to make certain values within
the drop list insensitive. But, if there is no way to set the
sensitivity of a single value, I could just pop up a warning message
when the value is selected and reset the value of the droplist to its
previous state. However, the program would be more intuitive if that
value could be grayed out, so people would know not to select it.

Also, since I am a beginner, my events are accessing the widgets using
the FIND_BY_UNAME method. I was having trouble with the more
sophisticated syntax that makes the programming more efficient.

Thanks,
Kathleen
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: get string of present working directory
Next Topic: cartesian to spherical plotting problem

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

Current Time: Sat Oct 11 15:20:02 PDT 2025

Total time taken to generate the page: 2.00307 seconds