Cursor Position in TextField

BlitzPlus Forums/BlitzPlus Programming/Cursor Position in TextField

Is there a way to control the cursor position in a textfield?

Problem Example:
I have a textfield that contains "apple" with the cursor at the end (after the "e"). I then change the text using SetGadgetText(textfield,"Pineapple")
The cursor is now after the "a" and I can't seem do do anything about that.

Unless I'm missing something simple here I think it's time to learn another API call...