Vcl.Themes.ThemeServicesClass
Delphi
ThemeServicesClass: TThemeServicesClassHelper deprecated 'Use TStyleManager.SetStyle';
C++
extern DELPHI_PACKAGE TThemeServicesClassHelper ThemeServicesClass _DEPRECATED_ATTRIBUTE1("Use TStyleManager.SetStyle") ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
variable | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | Vcl.Themes |
Description
Attention: ThemeServicesClass is deprecated. Please use TStyleManager.SetStyle.
ThemeServicesClass contains the metaclass reference for TThemeServices.
ThemeServicesClass is used internally by the theme services. When the singleton instance of TThemeServices is created, ThemeServicesClass is used. You are allowed to change the value of ThemeServicesClass, but you must do that before the application loads any VCL unit. All VCL units invoke the ThemeServices routine that creates the instance of TThemeServices. Changing the value of the ThemeServicesClass variable afterwards does not yield any result.