Re: Button XP appearance




"Rob Kennedy" <me3@xxxxxxxxxxx> wrote in message
news:3nek8oFea8bU1@xxxxxxxxxxxxxxxxx
> didi wrote:
>> Hi, how can I add Buttons Like XP silver style?
>>
>> However not fixed design but I want that the button
>> design follows Windows Appearance.
>> The same for other controls..
>>
>> Are there some component?
>
> If you have Delphi 7 or Delphi 2005, simply put a TXPManifest component on
> a form or data module in your project, or include a manifest resource or
> file.

I would offer word of caution regarding the TXPManifest. Some components,
the buttons for instance, work fine and look good. Other components, I don't
have a list of which ones, are either unaffected or fail to work as
expected. A RadioGroup, for example, on one of my Forms insists on having a
clBlue caption when it has definitely been set to clBlack. Elsewhere Edit
boxes refuse to format text Right-to-Left. Changing all references to any
parent properties did help with Panels. So from observation and a little
googling I am of the opinion that XPManifest only works its magic sometimes
on somethings. And may throw a fit if a user changes themes. That said, the
result does look more modern but there has to be a safer way of achieving
it.


.


Quantcast