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.

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:
- The Enabled property is set to
False. - The Mode property is set to TcxEditButtonMode.Glyph.
See Also