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

Home » Public Forums » archive » Re: sensitivity of individual droplist values?
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: sensitivity of individual droplist values? [message #64373 is a reply to message #64330] Tue, 23 December 2008 02:25 Go to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Dec 20, 2:37 am, Kathleen <101ferr...@gmail.com> wrote:
> Thank you  M.Katz. That is what I was afraid of. That method certainly
> requires a bit more work than I was hoping to contribute to a single
> widget. Especially since I have over 50 widgets in my application and
> several droplists that would require this modification. Might have
> been easier to handle if the last item was always the one to drop off
> the list. Unfortunately, that is not the case. If anyone has any other
> ideas, I would love to hear them.

Hi Kathleen,

If you can get away with using a menu bar rather than a droplist, it
makes desensitizing subwidgets a whole lot easier.

Something like this:

TLB = Widget_Base(/Col, MBAR = MBAR)
File = Widget_Button(MBAR, Value = 'File')
Frog = Widget_Button(File, Value = 'Frog')
Womble = Widget_Button(File, Value = 'Womble', $
Sensitive = 0)
Cabbage = Widget_Button(File, Value = 'Cabbage')

If you've got over 50 widgets, it might require a whole lot of
rewriting in your case, though. Plus, you can't control where in the
widget your menu bars appear.

There's also the option of using CW_PDMENU which I haven't really
delved into myself, but my experience with IDL functions that begin
with 'CW_' leads me to believe that a *lot* of headaches might lie
down that path...

Best of luck!
Chris
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: GPULib 1.0.6: GPU arrays getting zeroed once again
Next Topic: Re: SkippySky : New Astronomy weather forecast website

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

Current Time: Sat Oct 11 12:16:26 PDT 2025

Total time taken to generate the page: 1.59932 seconds