[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Menus' (#lcl)

# TMenuItem.Checked

Indicates whether a check mark is displayed beside the menu item.

## Declaration

Source position: menus.pp line 327

`published property TMenuItem.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.

Remark: | Use of Checked and an assigned image using ImageIndex are mutually exclusive on the Windows platform. At run-time, an image assigned using ImageIndex takes precedence and the check mark is not drawn.

Use ShowAlwaysCheckable to indicate that the menu item is always drawn using the unchecked state - even when Checked is set to True.

## See also

TMenuItem.AutoCheck |  | Indicates whether the menu item automatically toggles the value in Checked when executed.
TMenuItem.IsCheckItem |  | Indicates if the menu item is configured as a check box or a radio button item.
TMenuItem.Click |  | Performs actions needed when the menu item is clicked.
TMenuItem.ImageIndex |  | Ordinal position in the list of images for the glyph displayed on the menu item.
TMenuItem.SubMenuImages |  | SubMenuImages indicates if images are shown for sub-menu items as well as the main item.
TMenu.Images |  | The image list with bitmaps used as glyphs for the menu items.