Skip to main content
All docs
V23.2

TcxEditButtonMode Enum

Enumerates usage scenarios for editor buttons.

Declaration

TcxEditButtonMode = (
    Button,
    Glyph
);

Members

Name Description
Button

Default. An editor button implements built-in or custom editor functionality in this mode.

A click on the editor button executes an associated action and raises the parent editor’s Properties.OnButtonClick event.

Glyph

An editor button is non-interactive and has no pressed state in this mode.

This mode can be useful if you need to display indicators or status glyphs within the editor client area.

Remarks

Different usage scenarios allow you to use embedded editor buttons as interactive buttons (default) ot status indicators.

Note

TcxEditButtonMode is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TcxEditButtonMode.Glyph (in Delphi) or TcxEditButtonMode::Glyph (in C++Builder) to refer to the Glyph value in code.

Direct TcxEditButtonMode Type Reference

The TcxCustomEditButton.Mode property references the TcxEditButtonMode type.

See Also