Skip to main content

TcxCustomEditButton.Enabled Property

Specifies if the editor button is enabled.

Declaration

property Enabled: Boolean read; write; default True;

Property Value

Type Default Description
Boolean True
True
Default. The button is enabled; a user can hot-track and click the button.
False
The button is non-interactive.

Remarks

The Enabled property corresponds to the Enabled property of any TControl class descendant. You can use the Enabled property to disable or enable the editor button. A click on a disabled button has no effect.

Property Value Examples

The following table demonstrates the difference between Enabled property values under the same conditions:

Value Example[1]
True (default) VCL Editors Library: An Enabled Editor Button
False VCL Editors Library: A Disabled Editor Button

Default Value

The Enabled property’s default value is True.

Footnotes
  1. These examples demonstrate different Enabled property values for the same button editor with one embedded button under the following conditions:

    • The Office2016Colorful skin is in effect.
    • The Kind property is set to bkGlyph and a custom glyph is assigned to the Glyph property.
See Also