Radio Buttons on Menus
Just like the checked menu items, you can create a set of menu items that display a solid circle to the left of the menu item's text if the menu item is turned on. Turning on the checked menu item involves setting the Checked property just like checked menu items.
However, there are two basic differences. First, you also need to set the RadioCheck property of the menu item so that it displays the solid circle instead of the check mark. Second, radio menu items are intended to be exclusively turned on between one another. For example, if you have three menu items that all have the RadioCheck property set to True, only one of those menu items is supposed to be turned on at a time.
Just as it is with checked menu items, you ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access