I have a standard button placed on the nonuniform background (TImage). When the form was rendered by Windows XP, I started to see the border below my button:

Can I fix this artefact somehow?
The same button looks normally on Windows 7:

I have Delphi 2010, Windows XP SP3
You could place the button on a
TPaneland set the panel’s dimensions just so it would hide the ‘artefact’. The panel’sParentBackgroundproperty should be set toTrue(and it is so by default).I’m not sure if the artefact line is within the button’s dimensions as specified in its properties, so may be you would have to add a check to your application to see whether it is being run under Windows XP, to adjust the panel’s height appropriately.