Vcl.Menus.TMenuItem.Checked

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Checked: Boolean read FChecked write SetChecked stored IsCheckedStored default False;

C++

__property bool Checked = {read=FChecked, write=SetChecked, stored=IsCheckedStored, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMenuItem

Description

Specifies whether a check mark should appear beside the Caption.

Use Checked to allow a menu item to work like a check box. If Checked is true, the menu item appears checked. If Checked is false, the menu item remains unchecked.

Note: This property is not stored with the menu item if it is supplied by a TAction object.

See Also