vcl-styles

How to disable VCL styles in Delphi

坚强是说给别人听的谎言 提交于 2019-11-26 20:53:34
问题 I am using the new VCL styles system in Delphi XE2. It works great, but I wish to disable it for a particular form that has a number of images on it (a splash/about form). Problem is I can't seem to find a property of the form that associates it with a particular style, and so can't disable it for that form only. There only seems to be the global TStyleManager class which appears to be static. With this in mind, is the only way to achieve this to call TStyleManager.TrySetStyle('Windows') ,