Morning all,

 

I have some panels on a form that I have changed the color of. They appear fine at design-time, but at run-time they revert back to clBtnFace.

 

Even if I do this in the onCreate event of a form:

 

pnlFeatureHdr.Color := clGray;

 

It is clBtnFace when the form displays.

 

I thought it might be because it is an inherited form and I use the form persistence objects from Turbo Power, but If I create a normal TForm it does the same thing.

 

Os is WinXP Pro and using Delphi 7. I am thinking that the XPManifest might have something to do with it?


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 14/07/2003

Reply via email to