FMX.Styles.TStyleStreaming.LoadFromFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function LoadFromFile(const FileName: string): TFmxObject;

C++

__classmethod Fmx::Types::TFmxObject* __fastcall LoadFromFile(const System::UnicodeString FileName);

Properties

Type Visibility Source Unit Parent
function public
FMX.Styles.pas
FMX.Styles.hpp
FMX.Styles TStyleStreaming

Description

Loads a style from the specified file.

LoadFromFile returns a style object that can be set as the active style using the SetStyle method.

Note that LoadFromFile does not automatically switch to the loaded style. To do that, call the SetStyleFromFile method.

See Also