System.Actions.TContainedAction.Checked

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Checked: Boolean read FChecked write SetChecked default False;

C++

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

Properties

Type Visibility Source Unit Parent
property public
System.Actions.pas
System.Actions.hpp
System.Actions TContainedAction

Description

Indicates whether client controls and menu items appear checked.

Checked specifies the checked state for the action. The value of Checked can be propagated to all client controls and client menu items linked to the action.

Note: If the action has a GroupIndex value greater than 0, then setting Checked to True sets to False the Checked properties of all other actions in the GroupIndex group.

Tip: Use the AutoCheck property to ensure that the action's Checked property toggles when the action executes.

See Also

Code Examples