|
|
Title | Make menu items behave like check boxes in Visual Basic .NET |
Description | This example shows how to make menu items behave like check boxes in Visual Basic .NET. |
Keywords | check box, checkbox, menu, menu items, Visual Basic .NET, VB.NET |
Categories | Controls |
|
|
Making a menu item behave like a check box is a lot easier than making a set of items behave like a radio button group (see Make the items in a menu behave as a radio button group in Visual Basic). Simply set the menu item's CheckOnClick property to true and it will automatically toggle. All you need to do is catch its Click event to take the appropriate action.
|
|
|
|
|
|