Vcl.StdCtrls.TCheckBox.Action

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Action: TBasicAction read GetAction write SetAction;

C++

__property Action;

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCheckBox

Description

Specifies the action associated with the control.

Vcl.StdCtrls.TCheckBox.Action inherits from Vcl.Controls.TControl.Action. All content below this line refers to Vcl.Controls.TControl.Action.

Specifies the action associated with the control.

Action is the action object that is associated with the control. Actions allow an application to centralize the response to user commands. When a control is associated with an action, the action determines the appropriate properties and events of the control (such as whether the control is enabled or how it responds to an OnClick event).

To create actions at design time, place an action list component on a form or data module. Double-click the action list to bring up the action list editor. Add actions in the editor using its context menu. Once the actions have been added using the Action List editor, they appear in the drop-down list for the Action property in the Object Inspector.

See Also

Code Examples