Simple question?

  • Thread starter Thread starter Bradley
  • Start date Start date
B

Bradley

I want to set the scroll bar and cursor the bottom of a constantly updating
textbox. I am under the impression that: txtBox.SelectionStart =
txtBox.TextLength should do the trick, but it doesn't have any impact. Any
suggestions?

TIA

Brad
 
Bradley said:
I want to set the scroll bar and cursor the bottom of a constantly updating
textbox. I am under the impression that: txtBox.SelectionStart =
txtBox.TextLength should do the trick, but it doesn't have any impact. Any
suggestions?

You are missing a call to the textbox' 'ScrollToCaret' method.
 
Herfried ,

Thanks for the help. I knew I was missing something simple.

Brad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top