Home »
Public Forums »
archive »
Re: Droplists
Re: Droplists [message #12400] |
Thu, 30 July 1998 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Neil Winrow (ncw@dl.ac.uk) writes:
> I can create a droplist within my widget, but I would like to create
> further selections within each selection of the drolist. That is each
> top level selection would then be able to spawn another set of options.
> This may be simple, but I can't seem to find out how to do it.
Droplists don't work this way. However, pull-down menu
buttons do. It would be quite easy to build your own
CW_DROPMENU program in which the value of the "droplist"
button changed to reflect the current button selection.
One big advantage of such a "droplist" button is that
you could get and change its value in a straightforward
way. In fact, you could even put the value (rather than
that damn index number) in the event structure. :-)
Perhaps if I get some time later today I'll write such
a compound widget as an object. I've had several requests
to show how this could be done.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Current Time: Wed Oct 08 18:07:20 PDT 2025
Total time taken to generate the page: 0.00680 seconds