Keep Menu open after click?

G

Guest

I have a submenu with 3 menuitems on it. I have setup the click event
handler to toggle the checked property on/off. I would like the menu to
remain open when one of these three items is clicked so the user can see that
the check toggled as desired and so one of the other items can be toggled.
Every time I click one of these menuitems the menu closes and I have to
reopen it with the mouse.
I thought reopening the menu item just clicked programatically would be
simple but I can't seem to figure out how to do it.
Any Help?

Regards,
Engineerik
 
G

Guest

Engineerik said:
I have a submenu with 3 menuitems on it. I have setup the click event
handler to toggle the checked property on/off. I would like the menu to
remain open when one of these three items is clicked so the user can see that
the check toggled as desired and so one of the other items can be toggled.
Every time I click one of these menuitems the menu closes and I have to
reopen it with the mouse.
I thought reopening the menu item just clicked programatically would be
simple but I can't seem to figure out how to do it.

Check out MenuItem.PerformClick()...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top