Hi,
I have a readonly TextArea. Sometimes I change the color of some words, but as soon as I append text to the TextArea, the styled text is lost. Is this behavior expected? Any ideas on how to avoid this?
Thanks.
Hi,
I have a readonly TextArea. Sometimes I change the color of some words, but as soon as I append text to the TextArea, the styled text is lost. Is this behavior expected? Any ideas on how to avoid this?
Thanks.
how do you append?
TA.Text = TA.Text + mystr
EDIT: of course is that the issue…I have to figure out a way to really append the text.
Ok I got it. Using TA.SelStart and TA.SelText to set the text does the trick.
why not simply .AppendText?