Skip to main content

TcxButtonColors.DisabledText Property

Specifies the foreground color for a disabled button.

Declaration

property DisabledText: TColor index Ord(cxbcDisabledText) read; write;

Property Value

Type
TColor

Remarks

If this property value is not assigned, the button’s text is painted based on the NormalText or the button’s LookAndFeel and UseSystemPaint property settings.

The default property value (clDefault) specifies that the foreground color of a button is provided by the button’s LookAndFeel and UseSystemPaint property settings. If this property value is other than default, the cxbcDisabledText flag is activated in AssignedColors. Deactivating this flag sets the property to its default value.

You can also specify foreground colors for the following cxButton states: Default, Hot, Normal and Pressed.

See Also