||View All MessagesBack to WebFX|
1) This is not a bug in my opinion. There is one other possible work around and that is to remove the menu from the parent menu and then use it as a context menu.
2) I should probably add setChecked and getChecked methods to the CheckBoxMenuItem and RadioButtonMenuItem.
From: Jason Bernstein
Sent: July 24, 2002
Subject: Re:menu4 sharing submenus and contextmenu; programmatically using radio button
I'm experiencing 2 issues (both with workarounds, but still issues)..
1) I have a submenu that is also being used as a context menu.
Workaround - make 2 menus (and maintain state between them)
2) If the items in a menu are radiobutton menus, and I programatically change the checked property, the other items are not unchecking. It works properly if I click on the radioitem, but not when I programatically change it.
Workaround - Uncheck them individually while checking the correct one.