Table of Contents

TTMSFNCAppearanceGlobalFont Class

Defines a global font override applied to all TMS FNC controls owned by a form or frame. Set any of the Color, Size, Name, Scale, or Style properties to propagate that attribute to every participating control.

API unit family: TMSFNCGraphicsTypes Inherits from: TPersistent

Syntax

TTMSFNCAppearanceGlobalFont = class(TPersistent)

Properties

Name Description
Color Global font color applied to all participating controls. Set to gcNull to leave the control colors unchanged.
Name Global font family name. When non-empty, this name is applied to all participating controls.
Scale Global font scale factor. A value of 1.0 means no scaling; values greater than 1.0 enlarge text.
Size Global font size in points. When non-zero, this size is applied to all participating controls.
Style Global font style set (bold, italic, etc.) applied to all participating controls.

Methods

Name Description
ApplyChange Applies the attribute identified by ASetType to AFont.
GetOldScale Returns the previous scale factor before the last Scale change, used internally to update dependent controls.