Skip to main content

TcxEditButtonTransparency Enum

Represents the button transparency mode within an editor.

Declaration

TcxEditButtonTransparency = (
    ebtNone,
    ebtInactive,
    ebtAlways,
    ebtHideInactive,
    ebtHideUnselected
);

Members

Name
ebtNone
ebtInactive
ebtAlways
ebtHideInactive
ebtHideUnselected

Remarks

The TcxEditButtonTransparency type enumerates transparency modes of editor buttons. The following table describes possible values:

Value

Meaning

ebtNone

A button is always displayed in a non-transparent fashion.

ebtInactive

A button is drawn when the editor has focus or when the mouse cursor is positioned over the button. Otherwise, the button is transparent.

The following images demonstrate the TcxButtonEdit control with BorderStyle set to ebs3D, ButtonStyle set to btsDefault and ButtonTransparency set to ebtInactive.

ebtAlways

A button is always transparent.

The following image demonstrates the TcxButtonEdit control with BorderStyle set to ebs3D, ButtonStyle set to btsDefault and ButtonTransparency set to ebtAlways.

ebtHideInactive

A button is drawn only when the editor has focus. Otherwise, the button is invisible.

The following images demonstrate the TcxButtonEdit control with BorderStyle set to ebs3D, ButtonStyle set to btsDefault and ButtonTransparency set to ebtHideInactive.

ebtHideUnselected

A button is drawn when the editor has focus or when the mouse cursor is positioned over the editor region. Otherwise, the button is invisible.

The following images demonstrate the TcxButtonEdit control with BorderStyle set to ebs3D, ButtonStyle set to btsDefault and ButtonTransparency set to ebtHideUnselected.

See Also