Scrolling TextAreas

BlitzPlus Forums/BlitzPlus Beginners Area/Scrolling TextAreas

Moore(Posted 2007) [#1]
How do I scroll a text area to a specific line? Thanks!


Alaric(Posted 2007) [#2]
There's probably a much better way to do it than this kludge, but I use a userlib function that simulates key presses to change the position of the cursor. You can use the textareacursor function to find out where your cursor currently is so that you can simulate pressing the down key the right number of times... but should be a better way. If this interests you though, look up the "virtual keys" userlib in the code archives.