Hi Dennis

BS_LEFTTEXT doesn't work but BS_LEFT does.  Thanks for the help.

Regards,
Ross.


Dennis Chuah wrote:
> Not sure if this will work, but it is worth a try.  Create a 
> sub-class of TButton and override the CreateParams method:
> 
> procedure TButtonNew .CreateParams(var Params: TCreateParams); begin
>   inherited;
> 
>   Params.Style := Params.Style or BS_LEFTTEXT;
> end;
> 
> BS_LEFTTEXT is declared in the Windows unit.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to