Hello.

I have a form in it that has textBox, richTextBox, and a button. After entering the text in the textBox and clicking on the button, it is formatted and appears in the richTextBox. After I add about 10 records, a slider appears (because the size of the element does not allow to contain them) and the text goes down. To see it you need to scroll the slider down every time. This is not very convenient. How to make it slide down automatically after adding a record?

Thank you in advance.

    1 answer 1

    Try this:

    mySuperRichTextBox.SelectionStart = mySuperRichTextBox.TextLength; // Курсор в конец текста mySuperRichTextBox.ScrollToCaret(); // И прокручиваемся к курсору