FMX.Graphics.TTextSettings.FontColorForState

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property FontColorForState: TFontColorForState read FFontColorForState write SetFontColorForState

C++

__property TFontColorForState* FontColorForState = {read=FFontColorForState, write=SetFontColorForState, stored=StoreFontColorForState};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
property public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TTextSettings


Beschreibung

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