Use function called ScrollToCaret of textbox. You need to first set the caret position to the end of the text box, then call the ScrollToCaret function. Here's how to do it:
|
This blog is not specific to a technology. I always prefer to share. That is why as I will learn something new. I will try to post that here. Happy Sharing...
Friday, April 8, 2011
How to scroll to bottom in a textbox in C#
Subscribe to:
Post Comments (Atom)
How do you do this in a program that has multiple threads though?
ReplyDelete@Past Expiry
ReplyDeleteCan u send me the code? Get the textbox in the current thread and set the position.