RichTextBox

  • Thread starter Thread starter user
  • Start date Start date
U

user

Hello
Is there any proprety/method to set that i always see new text (vertical
scrollbar always on bottom) ?

Thanx
Michal
 
Is there any proprety/method to set that i always see new text (vertical
scrollbar always on bottom) ?

One way is to set HideSelection to false. The RichTextBox then scrolls
if you use AppendText() or set SelectedText.

However, if the font sizes used in the control vary, this causes a
problem - it doesn't scroll consistently. Let me know if you'll be
using varying font sizes, and I'll give some code to work around this.

Regards
 

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

Back
Top