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

Home » Public Forums » archive » checked menu bars - not toggling on / off
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
checked menu bars - not toggling on / off [message #60879] Tue, 17 June 2008 13:16
cgoethel is currently offline  cgoethel
Messages: 20
Registered: April 2008
Junior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Use of STOP inside an IF statement
Next Topic: How to print from an iTool? In color.

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

Current Time: Wed Oct 08 15:22:13 PDT 2025

Total time taken to generate the page: 0.00519 seconds