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 ...

Get Visual Basic® .NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.