Skip to main content

TcxCustomEditButton.Action Property

Specifies the action associated with the editor button.

Declaration

property Action: TBasicAction read; write;

Property Value

Type Description
TBasicAction

The associated action object.

Remarks

Use the Action property to associate the button with an action object (a TBasicAction descendant instance). A click on the button executes the associated action.

VCL Editors Library: An Editor with Three Custom Buttons

Alternatively, you can handle the parent editor’s Properties.OnButtonClick event to execute custom code in response to a click on the editor button.

Limitations

The editor button does not execute an associated action in response to a click when the following conditions are met:

See Also