Delphi XE8 styles do not work with TFrames? How to fix this?

551 Views Asked by At

I use TFrames. I make them dynamically by adding them to the Form window. I chose the style called "Glow" (others also). I launched the program and the style works only on the main Form window, they do not work on the controls TFrame. Why?

I tried to add: TStyleManager.SetStyle for the Frame Form but with no effect.

1

There are 1 best solutions below

4
On

I have fixed this bug. If you will change Frame Form Color property manually, it will make a bug. You must select your Frame and go to properties and turn on the ParentBackgroud field (choose true) and you can also turn on the ParentColor too. Now Styles must work.