[DUG] XP Manifest and Label Color
Cheng Wei (FMI)
chengw at fmi.co.nz
Thu Mar 1 11:47:57 NZDT 2007
Watch out for this one as well -
If you use the TDCVertListView component from Dream Company and run your
apps on a machine with XP theme activated, you may find all items
disappear from your list view. What happens is it draws the items first
and then the background, hence erasing all items it has just drawn.
Regards
Cheng
________________________________
From: delphi-bounces at ns3.123.co.nz
[mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of Rohit Gupta
Sent: Thursday, 1 March 2007 9:37 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] XP Manifest and Label Color
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" <rohit at cfl.co.nz>
<mailto:rohit at cfl.co.nz>
To: "NZ Borland Developers Group - Delphi List"
<delphi at ns3.123.co.nz> <mailto:delphi at 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 at 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 rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20070301/8ecee1ec/attachment-0001.html
More information about the Delphi
mailing list