TMenuItem.Checked property
Indicates whether a check mark is displayed beside the menu item.
Declaration
property Checked: Boolean read FChecked write SetChecked stored IsCheckedStored default False;Description
Checked is a
Boolean property which, when enabled,
displays a check mark prior to the Caption for the menu item. The default
value for the property is
False.
When RadioItem is enabled for the menu item, changing Checked to True causes the adjacent radio button-style menu items to set their Checked properties to False.
The property value can be supplied by an Action assigned to the menu item. Use AutoCheck to control whether the value from the assigned Action is used in the Click method.
Use ShowAlwaysCheckable to indicate that the menu item is always drawn using the unchecked state - even when Checked is set to True.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
