Thanks,
that fixed it, the same problem as the Panel. Since we always subclass
all components, it was simple to fix. And now the dratted statictext...
I will try the same fix for that.
In case anyone has missed it, this is because a property is defaulted in
the original component say to True. In a descendant component's
constructor you set it to false. Now, in the Object Inspector you can
never set it to True - if you do, it doesn't save it because it is
default. Therefore the descendant constructor sets it to false.
This is the problem in the background color with XP manifest for Panel,
Label and StaticText... so far. :-)
Ross Levis wrote:
I came across this some years ago. I use D7. The solution is to set
the Transparency property to False at runtime. It is set to True
automatically somewhere during app initalization and it ignores the IDE
setting.
Ross.
----- Original Message -----
From: "Rohit Gupta" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <delphi@ns3.123.co.nz>
Sent: Wednesday, February 28, 2007 3:33 PM
Subject: [DUG] XP Manifest and Label Color
When using the XP Manifest and runinng on XP+, The label colours
disappear.
Any clues anyone ? I have sorted out the panel colours from a previous
post.
_______________________________________________
Delphi mailing list
Delphi@ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
--
*Rohit Gupta*
* B.E. Elec. M.E. Mem IEEE Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
**
*Tel* +64 9 4892280
*Fax* +64 9 4892290
*Email [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>**
*Web *www.cfl.co.nz <http://www.cfl.co.nz/>
------------------------------------------------------------------------
This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If you
are not the intended recipient, you must not use, distribute or copy
this email or attachments. If you have received this in error, please
notify us immediately by return email and then delete this email and any
attachments.
_______________________________________________
Delphi mailing list
Delphi@ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi