FMX.Graphics.TTextSettings.FontColorForState

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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