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