How do I..Top Line in a TextArea when scrolling?

BlitzPlus Forums/BlitzPlus Programming/How do I..Top Line in a TextArea when scrolling?

Richard Betson(Posted 2004) [#1]
I need to be able to know what charactor position or line (row) is at the top of a textarea while scrolling? For example if I use the slider and scroll to about half way through a textarea, I would like to know what charactor postion the top (first line visible) line is.

This is just like the BlitzPlus IDE would do if you selected a function in the "Function Listbox". It sets the position to that functions line. I can position to a line but I need that first line postion to do it right.

L8r,


Richard Betson(Posted 2004) [#2]
LOL...

Never mind. I figured out that if I just postion to the last charactor in the textarea first, then position to the spot I want it works just like I wanted. :)

L8r,


Yue(Posted 2012) [#3]
Help, do not know if I can do that by moving the slider I report lines are displayed to activate a button.