By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,175 Members | 1,689 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,175 IT Pros & Developers. It's quick & easy.

TextBox how to prevent scrolling when I append text

P: n/a
I am trying to figure out how to prevent scrolling when I append text.
It scrolls to the bottom whenever I use AppendText.
It jumps to the top whenever I += text to the Text property.

Nov 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
before you append store current cursor position in a variable and after appending
to the textbox, set its selectionstart index using that variable.

Mihir Solanki
http://www.mihirsolanki.com
I am trying to figure out how to prevent scrolling when I append text.
It scrolls to the bottom whenever I use AppendText.
It jumps to the top whenever I += text to the Text property.

Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.