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

Home » Public Forums » archive » Re: Getting state of a non-exclusive button (checkbox) widget
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: Getting state of a non-exclusive button (checkbox) widget [message #70633] Tue, 27 April 2010 02:44 Go to previous message
The Countertony is currently offline  The Countertony
Messages: 2
Registered: April 2010
Junior Member
On Apr 26, 1:12 pm, David Fanning <n...@dfanning.com> wrote:
> The Countertony writes:
>> It's the if checkbox.status... line that I don't know how to phrase in
>> IDL - trouble is, all the references to event-handling of buttons I've
>> been able to find are for normal buttons, where you don't actually
>> need to know the state, just the fact that the button's been clicked.
>
>> Anyone able to suggest a solution?
>
> Use Widget_Info with the checkbox button's ID to see if
> the button is "set" or not:
>
>    checkboxstatus = Widget_Info(checkbuttonID, /BUTTON_SET)
>
> Cheers,
>
> David

Thanks - that's what I needed!
Tony
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Help on comparing 2 arrays
Next Topic: Re: image contrast, bias a la DS9

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

Current Time: Wed Oct 08 15:07:14 PDT 2025

Total time taken to generate the page: 0.00535 seconds