I migrate a very big VCL Application from Delphi 7 to XE and now to Seattle. Now I want to use VCL Styles, I go in Project Options and enable one but I get always the compilation error that the ''TStyleManager'' class is not defined. But why?
Asked
Active
Viewed 1,537 times
1 Answers
1
TStyleManager
is defined in the Vcl.Themes
unit, which you obviously must use in order to be able to refer to TStyleManager
.
uses
Vcl.Themes;
This information can be obtained from the documentation: http://docwiki.embarcadero.com/Libraries/Seattle/en/Vcl.Themes.TStyleManager

David Heffernan
- 601,492
- 42
- 1,072
- 1,490
-
The problem is Vcl.Themes and Vcl.Styles are referenced in the file – Sebastian Oct 16 '15 at 09:46
-
My answer explains your compilation error. If you have a more detailed question about specific code, that would be a new question. Make sure you include a full [mcve] when you ask it. – David Heffernan Oct 16 '15 at 09:52