TcxCustomEditProperties.Buttons Property
Provides access to the collection of editor buttons.
Declaration
property Buttons: TcxEditButtons read; write;
Property Value
Type | Description |
---|---|
TcxEditButtons | An editor button collection. |
Remarks
Use the Buttons
property to manage buttons displayed within the editor client area.
Button Management
You can call the Buttons
.Add function to create additional buttons. All existing editor buttons are accessible through the Buttons
.Items property.
Refer to the TcxEditButtons class description for detailed information on all button management options.
Button Settings and Functionality
To execute custom code in response to a click on an editor button, you can handle the OnButtonClick event. Alternatively, you can associate an editor button with an action object (a TBasicAction descendant instance).
Refer to the TcxEditButton class description for detailed information on all available button settings.
Limitations
The following editors cannot display embedded buttons:
- TcxCheckBox
- Represents a check box control that allows selecting an option.
- TcxDBCheckBox
- Represents a data-aware control which supports “checked”, “unchecked” and “grayed” states.
- TcxLabel
- Represents the label control.
- TcxDBLabel
- Represents data-aware version of the TcxLabel.
- TdxFormattedLabel
- An unbound formatted label control.
- TdxDBFormattedLabel
- A data-aware formatted label control.
Refer to individual TcxCustomEdit class descendant descriptions for details.