Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: how to "che...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 5712 of 5741
Post > Topic >>

Re: how to "check" checkbox state?

by Vince Hradil <hradilv@[EMAIL PROTECTED] > May 6, 2008 at 10:16 AM

On May 6, 11:05 am, pantha <p4n...@[EMAIL PROTECTED]
> 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)




 6 Posts in Topic:
how to "check" checkbox state?
pantha <p4nth4@[EMAIL   2008-05-06 09:05:07 
Re: how to "check" checkbox state?
Vince Hradil <hradilv@  2008-05-06 10:16:16 
Re: how to "check" checkbox state?
pantha <p4nth4@[EMAIL   2008-05-06 10:23:03 
Re: how to "check" checkbox state?
Vince Hradil <hradilv@  2008-05-06 10:38:40 
Re: how to "check" checkbox state?
David Fanning <news@[E  2008-05-06 12:10:04 
Re: how to "check" checkbox state?
pantha <p4nth4@[EMAIL   2008-05-14 07:11:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 6:29:25 CDT 2008.