System.Actions.TContainedAction.Checked

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 is propagated to client controls and menu items.

Use SetChecked to set Checked.

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 stays synchronized with the Checked properties of clients.

See Also

Code Examples