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 ...
Visits by Source
Users who voted for this posting
Jørn E. Angeltveit
Simon J Stuart