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

Home » Public Forums » archive » Re: how to "check" checkbox state?
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: how to "check" checkbox state? [message #60177 is a reply to message #60176] Tue, 06 May 2008 10:16 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On May 6, 11:05 am, pantha <p4n...@gmail.com> wrote:
> Hello everybody,
>
> I am writing a GUI program using the IDL GUI builder. I put a checkbox
> on the GUI, and that checkbox state should be checked when a specific
> button is pressed. The code is handled inside the x_eventcb.pro file.
>
> Question is: How can I check the state of the checkbox (checked/
> unchecked)? Can somebody give me an example?
>
> I've read through the IDL help and several topics on this newsgroup,
> but I couldn't a fitting solution for my rather simple problem.
>
> I know how to set the state with "Widget_control, buttonname,
> set_button = 1" but since there is no "get_button" I'm quite puzzled
> how to get the state.
>
> Any help would be greatly appreciated!

bstate = widget_info(event.id,/button_set)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: 3D array from surfaces?
Next Topic: Re: pState structure without widgets?

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

Current Time: Fri Oct 10 10:20:26 PDT 2025

Total time taken to generate the page: 0.23781 seconds