开发者

need to find current textbox line in relationship to screen position

开发者 https://www.devze.com 2023-03-05 22:50 出处:网络
I have created a te开发者_运维百科xteditor along with a function window. the functionwindow is a listbox that is populated with all of the functions located in the textbox.

I have created a te开发者_运维百科xteditor along with a function window.

the functionwindow is a listbox that is populated with all of the functions located in the textbox.

when the user double clicks on an item in the listbox, the textbox will find the function that was clicked on. its just using a simple search to find the text. the issue is that if the text is at the bottom of the window, then you still need to scroll to display it properly. is there a way to ... If line 200 of a textbox was located at the bottom of the screen to make it show at the top??? does this make any sense to anybody


Is it the ScrollToCaret function you want?

0

精彩评论

暂无评论...
验证码 换一张
取 消