Table of Contents

TTMSFNCStylesManager.LoadStyleFromURL Method

Downloads a JSON style definition from the specified URL and applies it to the given component list.

API unit family: TMSFNCStyles Declaring type: TTMSFNCStylesManager

Overloads

Overload 1

Downloads a JSON style definition from the specified URL and applies it to the given component list.

procedure LoadStyleFromURL(AURL: string; AComponents: TTMSFNCStylesManagerComponentArray); overload; virtual;

Parameters

Name Description
AURL The URL of the JSON style to download.
AComponents The array of components to style.

Overload 2

Downloads a JSON style definition from the specified URL and applies it to all registered components.

procedure LoadStyleFromURL(AURL: string); overload; virtual;

Parameters

Name Description
AURL The URL of the JSON style to download.