Checked Entries in a GUI Pulldown menu [message #40833] |
Thu, 02 September 2004 08:31 |
ebertf
Messages: 12 Registered: January 2004
|
Junior Member |
|
|
Hi,
I have a Problem checking and unchecking Entries in a Pulldownmenu.
I created a pulldownmenu like this:
tlb=WIDGET_BASE(/TLB_KILL_REQUEST_EVENTS,mbar=menu)
butid=WIDGET_BUTTON(pdRegelung,value='xy',uvalue='xy',/CHECK ED_MENU)
In the Eventhandler IDL jumps to 'XY' via a CASE comand, when the
Button is pressed:
'XY': begin
widget_control,info1.butspritzenregid,/set_button
end
Then the Button is checked.....
So far it works as I want, but how can I...
1) Uncheck the Button ??
2) Read out if it is checked or not???
It remains checked, even when I press it again, and the event.select
value always is 1.
Thanks for helping!
Bye
Florian
|
|
|