Text in a TMemo component

LeTay used Ask the Experts™
In my Delphi application, I have a TMemo on a form
I put some text in it, but quiet long (wordwrap = true)
That's not a problem, user can go down in the text but sometimes the beginning of the text is not shown at the top right of the TMemo
How can I have text visible from the beginning of it
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software architect
Top Expert 2012
Can be done with few lines like:
  Memo1.SelStart := 0;
  Memo1.SelLength := 0;

Open in new window

...which actually try to define "empty" selection block at a beginning ...


Excellent !
Many thanks Sinisa !

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial