Skip to main content

TcxEditButtonState Enum

Enumerates editor button states.

Declaration

TcxEditButtonState = (
    ebsDisabled,
    ebsNormal,
    ebsPressed,
    ebsSelected
);

Members

Name Description
ebsDisabled

An editor button is disabled (the button’s Enabled property is set to False) and non-interactive.

ebsNormal

This value corresponds to the base (normal) state of an editor button.

ebsPressed

The pressed editor button state. An editor button is in this state for a short period of time when a user clicks the button.

ebsSelected

An editor button is hot-tracked.

Remarks

An editor button can have different appearance in different states. For example, you can handle an editor’s Properties.OnButtonGlyphDrawParameters event to display different button glyphs for different button states.

Direct TcxEditButtonState Type Reference

The AState parameter of the TcxEditButtonGlyphDrawParametersEvent procedural type references the TcxEditButtonState type.

See Also