Re: Button XP appearance



didi wrote:
found something better!
read this article: http://delphi.about.com/library/bluc/text/uc111601a.htm
no components are needed nor for D5 D6

Actually, components *are* needed for those versions. That link just shows how to include a manifest with your program. You'd have to do that anyway.


In Delphi 5 and Delphi 6, the TThemeManager component is required if your forms use any non-OS components -- the components that the OS does not paint for you. That includes TPanel, TSpeedButton, and TBitBtn. I think it also includes many of the DB-aware controls, and the grids. It also includes TTab***, so if you have a TPageControl on your form, the tabs and border will look correct, but the interior of each page will be the normal clBtnFace color, unless you include a TThemeManager component in your project somewhere.

For Delphi 7 and Delphi 2005, the TXPManifest component is merely an automated way of acheiving what's described in the linked article, nothing more.

Delphi.about.com is a good place to get a primer for a topic, but don't believe you've gotten the whole story just because you've read about something on that site.

--
Rob
.


Quantcast