COptionMenu custom checked items

Is it possible to set a menu to be kCheckStyle, but have a few entries that will never be checked when selected? If so, how can I set an entry to never be checked?

You have to install an IOptionMenuListener on the menu and in onOptionMenuPrePopup or onOptionMenuPostPopup you can iterate thru all items and update the check state there.

1 Like