Sounds like you are using a TButton - which doesnt support multilines - use
a TBitButton instead
Oscar
-----Original Message-----
From: Mark Howard [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 04, 2000 10:00 AM
To: Multiple recipients of list delphi
Subject: [DUG]: Multi-line Caption
OK. Fine. I'll risk the impure design!
Where do you guys learn all this stuff?!
Thanks everyone.
Mark
OK
When I try this, or the similar hex solution proposed all I get
is
Line1||Line2 (ie 2 heavy vertical bars in place of the CR/LF
characters)
or more precisely
ne1||Lin
There must be something simple that I am overlooking.
(I *have* closed the quotes after Line1)
Any ideas?
Mark
Oscar said
you can use:
btnTest.Caption := 'Line 1' + #13#10 + 'Line 2';
on a bit button - however it does violate every UI design rule
known to
mankind ;)
Oscar.
Original message -
Does anyone know how to get a two line caption on a Bit Button,
please?
TIA
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material from
any computer. Opinions expressed in this transmission are not necessarily
those of Sanderson Computers Limited. For further clarification, please
contact [EMAIL PROTECTED]
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz