表示: Delphi C++
表示設定

Vcl.Themes.ThemeServices

提供:XE2 API Documentation
移動: 案内, 検索

Delphi

function ThemeServices: TCustomStyleServices;

C++

extern PACKAGE TCustomStyleServices* __fastcall ThemeServices _DEPRECATED_ATTRIBUTE1("Use StyleServices") (void);

プロパティ

種類 可視性 ソース ユニット
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes Vcl.Themes

説明

TThemeServices クラスのインスタンスを返します。

ThemeServices を呼び出すと、TThemeServices クラスのインスタンスを取得することができます。正常であれば、同時に作成されている TThemeServices のインスタンスは 1 つだけのはずです。ThemeServices を使用することで、インスタンスが 1 つしか作成されないことを保証できます。作成したいインスタンスが既に作成されている場合、ThemeServices はそのインスタンスを返します。

関連項目

以前のバージョン
他の言語