FMX.Graphics.TTextSettings.OnChanged

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnChanged: TNotifyEvent read FOnChanged write FOnChanged;

C++

__property System::Classes::TNotifyEvent OnChanged = {read=FOnChanged, write=FOnChanged};

Properties

Type Visibility Source Unit Parent
event public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TTextSettings

Description

Fired when any styled text representation property of the current TTextSettings object is changed.

OnChanged is fired internally from the DoChanged method when any of the TFont.Family, TFont.Size, TFont.Style, FontColor, HorzAlign, HorzAlign, Trimming or WordWrap properties is changed.

Writing OnChanged event handler, you can analyze the IsAdjustChanged and IsChanged properties to define which actions should be implemented.

See Also