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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TStyleManager |
説明
アクティブなスタイルを、名前、インスタンス、または ハンドルで設定します。
パラメータ | 意味 |
Name
|
アクティブ スタイルとして設定されるスタイルの名前 |
Style
|
アクティブ スタイルとして設定されるスタイル インスタンス |
Handle
|
アクティブ スタイルとして設定される、スタイルのハンドル。LoadFromFile または LoadFromResource メソッドから返される。 |