Mark,

1.  Drop a TBitBtn on form
2.  Resize it so that it will fit the number of lines you require
3.  In code:

Btn: TBitBtn;

Btn.Caption := 'Line1'#$0D#$0A'Line2';

However, the IDE does not let you enter CRLF in the object inspector.  Its
not a problem for me as I register my own property editor that lets you
enter almost anything.  Its basically a string property editor derivative
that lets you also edit the string on a dialog with a memo control.

Regards,
Dennis.


> -----Original Message-----
>
> Hi
>
> Does anyone know how to get a two line caption on a Bit Button,
> please?
>
> TIA
>
> Mark
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to