Skip to main content
A newer version of this page is available. .

TcxEditButtons Class

Represents a collection of buttons provided by an editor.

Declaration

TcxEditButtons = class(
    TcxCustomEditButtons
)

Remarks

The TcxEditButtons class represents a collection of buttons for the TcxCustomEdit control. Use the editor’s Properties.Buttons property to gain access to the buttons collection.

To add a button, call the Add function. Use the Items property provides to access properties of a specific button by its index. By default, every button is represented by a TcxEditButton object (as specified by the GetButtonClass function). To display custom buttons within the editor, override this function to return the desired button type.

To provide a custom button collection (a TcxEditButtons descendant) for an editor, override the editor’s Properties.GetButtonsClass function to return this collection’s class type.

See Also