Jon Lennart Aasenden
Jon Lennart Aasenden

Reputation: 4020

Avoid skinning an element under Delphi XE2

The Delphi XE2 skinning option is fantastic, but there are cases where you want to inform Delphi to leave an element or form alone. In my case I have a splash form that was created completely inside Delphi - and this is ruined because the skin overrides all colors implicitly.

Is there some way I can inform Delphi or the skinning-engine that it should leave a control or form alone?

Upvotes: 4

Views: 1188

Answers (1)

Martin Reiner
Martin Reiner

Reputation: 2197

I would try to use something like this (was not tested)

TStyleManager.Engine.RegisterStyleHook(TYourSplashForm, TStyleHook);

Upvotes: 3

Related Questions