Checked Menu Items

Sometimes you may want to inform the user that a feature represented by a particular menu item is already enabled in your application. This may include telling the user that the auto-save feature is already enabled in your application or that the spell checking feature is turned on. The menu items shown so far do not indicate whether the feature is currently on or off in the application.

Checked menu items solve this problem by displaying a check mark to the left of the menu item if the feature represented by the menu item is turned on. The good news is that you have a user interface construct that allows you to do this. The bad news is that you have to manage it yourself. To turn on the check mark, you need to set the Checked ...

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.