Hello there,
I am using the UltraTextEditor to display log messages. I can not figure out, how to scroll to the end after I added a new line. What am I missing?
Any help would be appreciated,
Dennis
Hi Mike,
Having the same problem here.
When trying to set the SelectionStart in runtime, I get an exception "Can't access SelectionStart unless the Editor is in edit mode."
I also tried
ProgressEdit.Select(ProgressEdit.Text.Length, 0); ProgressEdit.ScrollToCaret();
Still no good, all I get is that the text is added to the control but only the first lines are shown. To see the text at the last lines, I need to select the edit box and scroll down manually.
Any ideas?
Thanks,Roy.
Hi Dennis,
You probably need to set the SelectionStart property to position the cursor to the end, just as you would for a TextBox.