ImageEn, unit iexColorButton

TIEColorButton.DisabledColor

TIEColorButton.DisabledColor


Declaration

property DisabledColor: TColor;


Description

Specifies the color that is displayed when the control is not enabled.
If you specify clNone then the selected color is shown even when the control is disabled.

Note:
 If a standard color, such as clBtnFace is used, it may be overridden by VCL theming colors. Set EnableTheming to false to prevent this
 You must call Invalidate() if you change DisabledColor while the control is not enabled

Default: clBtnFace


Examples

// Show selected color even when control is disabled
IEColorButton1.FrameColor := clNone;
IEColorButton1.Invalidate();