Vcl.Controls.TControlAction
Delphi
TControlAction = class(TCustomControlAction)
C++
class PASCALIMPLEMENTATION TControlAction : public TCustomControlAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
TControlAction is the base class for all the actions that can be associated with some of the VCL controls.
Control actions can either be defined through code, or using the editor provided by a TActionManager component. In the latter case, a control action can be added to the list of available actions by clicking the "New Standard Action" option and selecting the "TControlAction" component in the "(No Category)" group.
Control actions can be associated with different controls, like forms, buttons, and check boxes. If there is an action associated with the control, clicking the control automatically calls this action. To be more specific, the control's OnClick event handler calls the associated action.