Get current scroll position from rich text box control?

后端 未结 3 1065
不知归路
不知归路 2020-11-30 12:31

I have searched the internet far and wide and seen many questions like this, but I have not seen an actual answer.

I have a rich text box control with lots of text i

3条回答
  •  自闭症患者
    2020-11-30 13:15

    The question How to get scroll position for RichTextBox? could be helpful, Check out this function

       richTextBox1.GetPositionFromCharIndex(0);
    

提交回复
热议问题