I am using TAdvMemo
. My problem is with the WordWrap
property. It works very well when I type text in the text area, but when I add a string to it in code, it has no effect.
I have set WordWrap
property to: wwRightMargin
and RightMargin
property to 80
, but not see other property that can help me, so i ask some idea as solve it?
i mean for example:
AdvMemo.Lines.Add(MyString);
where MyString
is a string as: 'hello word'. When it is longer than 80 chars, and wrap is enabled, it should wrap to a new line, but instead it's all on the same line.