How can I do that if I append some text the RTB will automatically scroll down?
Now I'm using:
conversationRtb.Rtf = tab.conversationRtb.Rtf;
conversationRtb.SelectionStart = conversationRtb.Text.Length;
conversationRtb.ScrollToCaret();
But it isn't working well. Sometimes it doesn't scroll to end but one line before end.

Sometimes it makes a big offset.

I cannot find why. Is there any another way how to scroll down? I've found AutoScrollOffset but no examples how it works.
You can adjust HideSelection value to false, the AppendText will trigger the correct scroll.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With