How to detect if a scrollbar is or is not at the end of a richtextbox (vb.net)

后端 未结 4 1300
傲寒
傲寒 2020-12-17 06:02

my question is as is:How to detect if a scrollbar is at or not at the end of a richtextbox?

edit: when I say at the end I mean completely scrolled to the bottom, no

4条回答
  •  囚心锁ツ
    2020-12-17 06:23

    One method is to use the GetScrollPos function. Here's kind of a long winded example of it using VB.NET.

    http://www.codeproject.com/KB/vb/VbNetScrolling.aspx?print=true

提交回复
热议问题