Vcl.Themes.TStyleManager.SetStyle
Delphi
class procedure SetStyle(const Name: string); overload;
class procedure SetStyle(Style: TCustomStyleServices); overload;
class procedure SetStyle(Handle: TStyleServicesHandle); overload;
C++
__classmethod void __fastcall SetStyle(const System::UnicodeString Name)/* overload */;
__classmethod void __fastcall SetStyle(TCustomStyleServices* Style)/* overload */;
__classmethod void __fastcall SetStyle(TStyleManager_TStyleServicesHandle Handle)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TStyleManager |
Description
Sets the active style by name, instance, or handle.
Parameter | Meaning |
Name
|
The name of the style to be set as the active style. |
Style
|
A style instance to be set as the active style. |
Handle
|
The handle of the style to be set as the active style, as returned by the LoadFromFile or LoadFromResource method. |