Checked

This property returns and sets a value that determines whether a check mark is displayed next to a menu item.

Syntax

object.Checked [= Boolean]

Parameters

object
Object expression that evaluates to a menu.
Boolean
Boolean expression that specifies whether a check mark is displayed next to a menu item. Following are the settings for Boolean:
True
Places a check mark next to a menu item
False (default)
Does not place a check mark next to a menu item

Remarks

At design time, you can use the Menu Editor to set Checked to True. At run time, you can toggle Checked on and off as part of a Click event procedure attached to a Menu control. You also can set the value of Checked in a startup procedure or in a form's Load event procedure.