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

Home » Public Forums » archive » Re: [Newbie] Question about disabling menu buttons in IDL
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
Re: [Newbie] Question about disabling menu buttons in IDL [message #25299] Tue, 29 May 2001 11:01
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
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
Re: [Newbie] Question about disabling menu buttons in IDL [message #25300 is a reply to message #25299] Tue, 29 May 2001 10:54 Go to previous message
mchinand is currently offline  mchinand
Messages: 66
Registered: September 1996
Member
In article <Pine.SUN.4.30.0105291328110.2820-100000@theremin.irus.rri.on.ca>,
Geoff Herbynchuk <gherbyn@irus.rri.on.ca> wrote:
> 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?
>
> Thanks in advance for any help.
> Geoff
>
>

See the SENSITIVE keyword to widget_control


--Mike

--
--
Michael Chinander University of Chicago
m-chinander@uchicago.edu (773)834-5101 (Voice) (773)702-0371 (Fax)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: [Newbie] Question about disabling menu buttons in IDL
Next Topic: Re: subscripts and superscripts in plot labels and titles ?

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

Current Time: Wed Oct 08 11:37:34 PDT 2025

Total time taken to generate the page: 0.00529 seconds