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

Scrollbar

P: n/a
my question is not only specific to C#. In most of the visual environments
we use textboxes, buttons etc..

Exp: In C# i have a textbox (multiline textbox). Suppose that, application
is monitors something, or it is a chat application. So every time new lines
are added to that multiline textbox. The question is how to keep the
scrollbar at the down side. New appended texts must be seen without
touching scrollbar.

is there any property for this issue, or code ???
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
textBox1.Focus();
textBox1.SelectionStart=this.textBox1.Text.Length;
textBox1.ScrollToCaret();
my question is not only specific to C#. In most of the visual environments
we use textboxes, buttons etc..

Exp: In C# i have a textbox (multiline textbox). Suppose that, application
is monitors something, or it is a chat application. So every time new lines
are added to that multiline textbox. The question is how to keep the
scrollbar at the down side. New appended texts must be seen without
touching scrollbar.

is there any property for this issue, or code ???

Nov 17 '05 #2

P: n/a
10x ;)
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.