Vcl.Themes.TStyleManager.LoadFromFile
Delphi
class function LoadFromFile(const FileName: string): TStyleServicesHandle;
C++
__classmethod TStyleManager_TStyleServicesHandle __fastcall LoadFromFile(const System::UnicodeString FileName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TStyleManager |
Description
Loads a style from the specified file.
Note that LoadFromFile does not automatically switch to the loaded style. To do that, call the SetStyle method.