Board index » delphi » Multi-line Labels ?

Multi-line Labels ?

I'm trying to display a multi-line text. I tried TMemo, but then I get
a cursor (caret) which I can't get rid of.

Anybody has any idea how to make the caret disppear, or maybe some
other way to display a multi-line label ?

Thanks,
Amit

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 

Re:Multi-line Labels ?


TLabel.WordWrap := true;

--
Mark Lauter
Independent Contractor
Find a few Free Delphi and C++ Builder components
here...
http://home.tampabay.rr.com/marknmarilynn/

Quote
<amitos_even...@my-deja.com> wrote in message

news:7n24ae$uu9$1@nnrp1.deja.com...
I'm trying to display a multi-line text. I tried
TMemo, but then I get
a cursor (caret) which I can't get rid of.

Anybody has any idea how to make the caret
disppear, or maybe some
other way to display a multi-line label ?

Thanks,
Amit

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Re:Multi-line Labels ?


Quote
> I'm trying to display a multi-line text. I tried TMemo, but then I get
> a cursor (caret) which I can't get rid of.
> Anybody has any idea how to make the caret disppear, or maybe some
> other way to display a multi-line label ?

TLabel has not problems at all to display multiline text. You can insert
forced linebreaks by inserting #13#10 sequences into the text or let the
control do the wordwrap. Just set its WordWrap property to true.

Peter Below (TeamB)  100113.1...@compuserve.com)
No e-mail responses, please, unless explicitly requested!

Other Threads