I want to append text to the end of a text box. If the cursor is currently
at the end I just want to append it and have the normal scrolling take place
if needed.
However, if the selection isn't at the end of the text box I want to append
the text but WITHOUT changing the selection or scrolling the text.
I can easily tell if the selection is at the end or not.
However, I haven't found away to prevent the scrolling when I AppendText.
Is this possible? Seems like I'd need to do something like:
- Grab the selection point
- Turn off updating
- Append the text
- Restore the selection point
- Turn on updating in such a way that if part of the view changed it will
show.
Thanks,
--
Grant Schenck