Vcl.Themes.ThemeServices

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ThemeServices: TCustomStyleServices;

C++

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

Properties

Type Visibility Source Unit Parent
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes Vcl.Themes

Description

Warning: ThemeServices is deprecated. Please use StyleServices.

Returns an instance of the TThemeServices class.

Call ThemeServices to obtain an instance of the TThemeServices class. Normally, only one instance of TThemeServices should be created at a time. ThemeServices makes sure that only one instance is created. If an instance that you want to create was already created, ThemeServices returns it.

See Also