FMX.Graphics.TTextSettings.FontColorForState
Delphi
property FontColorForState: TFontColorForState read FFontColorForState write SetFontColorForState stored StoreFontColorForState;
C++
__property TFontColorForState* FontColorForState = {read=FFontColorForState, write=SetFontColorForState, stored=StoreFontColorForState};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TTextSettings |
Description
Font colors for different states of the TTextSettings object.
Possible states are defined in TIndex:
Normal
, Focused
, Pressed
, Hot
, and Active
.
For example, FontColorForState can be helpful when TintColor is used to reset the background color (Mobile Tutorial: Using a Button Component with Different Styles (iOS and Android)).
Whether a graphical component uses or does not use FontColorForState depends upon a particular component and a style of the component.
See Also
- FMX.Graphics.TFontColorForState.TIndex
- FMX.Graphics.TFontColorForState
- FMX.Graphics.TFontColorForState.CurrentColor
- FMX.Graphics.TFontColorForState.Active
- FMX.Graphics.TFontColorForState.Focused
- FMX.Graphics.TFontColorForState.Hot
- FMX.Graphics.TFontColorForState.Normal
- FMX.Graphics.TFontColorForState.Pressed