Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
checked menu bars - not toggling on / off
Hello, How does the toggle button on the checked menu button work? I believe I have properly set up the tlb, menu widget button, and checked menu button, least ways it initially displays correctly with a check mark next to that menu item. However, when I click on that menu item, to turn it off, the pulldown menu display is not updated (to not have a check). I do get an event and I call widget_control ... WIDGET_CONTROL, event.id, /set_button From the documentation, it looked like this should work as a toggle button. I took that to mean that each time widget_control was called with the /set_button keyword the value would change from 0 to 1. In debugging, when I call widget_info - the value is always 1. What do I need to do to set this button to 0 or 1? Thanks for your help!!!! Cindy