Vote UpVote

Fixing a VCL Style bug in the TButton component

The Road to Delphi – A few weeks ago a fellow delphi developer ask me via email about a workaround for a bug in the TButton component, when the ImageAlignment property has a value different than iaLeft (btw i just submit this bug to Quality Central). Tipically when you uses this property in a TButton without a Vcl Style applied you had a result like this. Now if you apply any Vcl Style, this is the result As you can see the images are not aligned properly. This is due which the TButtonStyleHook class (used by the TButton component) ignore the value of the ImageAlignment property. So to fix that we must patch ...
Favorite? Off-Topic? Rodrigo @ 2012-02-26 16:07


Visits: 788
Votes: 8
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Jørn E. Angeltveit
Paul Thornton
Primoz Gabrijelcic
Simon J Stuart
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)