FMX.StdCtrls.TButtonFontColors
Delphi
TButtonFontColors = class(TFontColorForState)
C++
class PASCALIMPLEMENTATION TButtonFontColors : public Fmx::Graphics::TFontColorForState
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | FMX.StdCtrls.pas FMX.StdCtrls.hpp |
FMX.StdCtrls | FMX.StdCtrls |
Description
Manages font colors used to draw text for different states of a GUI component containing a TTextSettings object.
FMX.StdCtrls.TButtonFontColors inherits from FMX.Graphics.TFontColorForState. All content below this line refers to FMX.Graphics.TFontColorForState.
Manages font colors used to draw text for different states of a GUI component containing a TTextSettings object.
TFontColorForState keeps TAlphaColor colors in the Color[Index] array.
Index enumerates the possible states of a GUI component (a form or a control). The TIndex type defines the possible states.
The Color[Index] color is used as the font color to draw the text in the Index state of a component.
Use CurrentColor to obtain the font color for the current state.
A TFontColorForState object is kept in the FontColorForState property of the TTextSettings object, which is kept in the TextSettings property of a GUI component.