Vcl.Controls.TCustomControlAction
Delphi
TCustomControlAction = class(TCustomAction)
C++
class PASCALIMPLEMENTATION TCustomControlAction : public Vcl::Actnlist::TCustomAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
TCustomControlAction 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 by 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.
TCustomControlAction is the base class for TControlAction, which implements such control actions.