Is it possible for TMemo
to automatically show a line from a db adjusted to the width of the TMemo
? I mean, inside my db i have: "123456789123456789123", and the width of my tmemo is just 10 characters for example.
Is it possible for TMemo
to automatically show the text in this way?
123456789
123456789
123
Any suggestion?
This can be achieved using the WordWrap
property:
Memo1.WordWrap := True;
This change must be made in code because the memo's WordWrap
property is not published.