Get/Set StringGadget cursor?

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Get/Set StringGadget cursor?

Post by kenmo »

Considering Get/SetGadgetState() is not used for StringGadgets, could it possibly be implemented to return or set the cursor position within the string? I ran into a situation where I could have used this today, but I think API is the only solution for now.

Good idea? Bad? Better solution?