API:FMX.StdCtrls.TButtonSettings.FontColorForState
Delphi
property FontColorForState;
C++
__property FontColorForState;
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
| property | published | FMX.StdCtrls.pas FMX.StdCtrls.hpp |
FMX.StdCtrls | TButtonSettings |
Beschreibung
Schriftfarben für unterschiedliche Status des TTextSettings-Objekts.
FMX.StdCtrls.TButtonSettings.FontColorForState erbt von FMX.Graphics.TTextSettings.FontColorForState. Der folgende Inhalt bezieht sich auf FMX.Graphics.TTextSettings.FontColorForState.
Schriftfarben für unterschiedliche Status des TTextSettings-Objekts.
Mögliche Status werden in TIndex definiert:
Normal, Focused, Pressed, Hot und Active.
FontColorForState kann beispielsweise hilfreich sein, wenn TintColor zum Zurücksetzen der Hintergrundfarbe verwendet wird (Mobile-Tutorial: Verwenden von Schaltflächen-Komponenten mit unterschiedlichen Stilen (iOS und Android)).
Ob eine grafische Komponente FontColorForState verwendet oder nicht, hängt von der jeweiligen Komponente und dem Stil der Komponente ab.
Siehe auch
- 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