Is there a method to scroll the richtextbox to the top automatically with codes? Thanks!
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
tRY the above 2 lines of code it worked for me!
you mean bottom?
instance.SelectionStart = instance.Text.Length;
or i guess top would be instance.SelectionStart = 0.
Set
.SelectionStart
=0
and then.ScrollToCaret()
.