how to "check" checkbox state? [message #60179] |
Tue, 06 May 2008 09:05 |
pantha
Messages: 3 Registered: May 2008
|
Junior Member |
|
|
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!
|
|
|