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

后端 未结 4 1321
傲寒
傲寒 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:32

            if (richTextBox1.Size.Width - richTextBox1.ClientSize.Width > 10) 
    

    Sorry, you'll have to convert that to VB.NET yourself. Shouldn't be too hard :)

提交回复
热议问题