Table of Contents

TTMSFNCStylesManager.LoadStyleFromText Method

Loads a JSON style definition from the specified string and applies it to all registered components.

API unit family: TMSFNCStyles Declaring type: TTMSFNCStylesManager

Overloads

Overload 1

Loads a JSON style definition from the specified string and applies it to all registered components.

procedure LoadStyleFromText(AText: string); overload; virtual;

Parameters

Name Description
AText The JSON style string to load.

Overload 2

Loads a JSON style definition from the specified string and applies it to the given component list.

procedure LoadStyleFromText(AText: string; AComponents: TTMSFNCStylesManagerComponentArray); overload; virtual;

Parameters

Name Description
AText The JSON style string to load.
AComponents The array of components to style.