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
 
Back
Top