FMX.StdCtrls.TButtonSettings.FontColorForState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FontColorForState;

C++

__property FontColorForState;

Properties

Type Visibility Source Unit Parent
property published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TButtonSettings

Description

Font colors for different states of the TTextSettings object.

FMX.StdCtrls.TButtonSettings.FontColorForState inherits from FMX.Graphics.TTextSettings.FontColorForState. All content below this line refers to FMX.Graphics.TTextSettings.FontColorForState.

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