|
Re: widget ? [message #46371 is a reply to message #46370] |
Tue, 15 November 2005 08:58  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
b_efremova@yahoo.com writes:
> I'm new in using widgets...
> Can someone tell me if there is a simple way to make sertain button to
> be the only posible action you can take after given event?
> I imagine that there is a keyword to wdget_control that can set for
> example a droplist (or a base or whatever) so that until an event is
> generated from it, all other widgets are disabled.
> Well, I didn't find this keyword. Is it more complicated?
> I can make the program just to ignore everything before it gets the
> event from this droplist, but there should be smarter way...
Typically, you make the widgets that *can* generate events
sensitive (SENSITIVE=1) and the ones that *can't* generate
events at a particular time insensitive (SENSITIVE=0).
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|