[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie] Question about disabling menu buttons in IDL



Geoff Herbynchuk (gherbyn@irus.rri.on.ca) writes:
 
> I'm sure I've just missed it in the reference guides somewhere, but is
> there a way to grey out various buttons on a menu when that option shouldn't
> be allowed until a condition is met?

Widget_Control, buttonID, Sensitive=0

Cheers,

David
-- 
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155