How would I move the textarea scrollbar so that a certain textline is visible? (without the mouse of course :))
move textarea?
BlitzMax Forums/BlitzMax GUI Programming/move textarea? Set the cursor to that position.
do you know how?
Im looking through the commands and I cant see one that moves the cursor
Im looking through the commands and I cant see one that moves the cursor
The cursor position is where you select something in the TextArea.
For example to put the cursor at the end of a loaded text in the TextArea you could use:
SelectTextAreaText( YourText:TGadget,(TextAreaText(YourText).length),0 )
The TextAreaCursor command does only retrieve the current position.
For example to put the cursor at the end of a loaded text in the TextArea you could use:
SelectTextAreaText( YourText:TGadget,(TextAreaText(YourText).length),0 )
The TextAreaCursor command does only retrieve the current position.
ok thanks!