FMX.Graphics.TTextSettings.FontColorForState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FontColorForState: TFontColorForState read FFontColorForState write SetFontColorForState

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