[RESOLVED] Setting the cursor position in a text
Hey all,
How do I, when I run a command, set the cursor position in a text box to the very end of the textbox.
So If I click a button and it puts "Nick" into the textbox or "Paralinx", then the cursor position will be after the K or after the X.
Does someone know how to do this?
Re: Setting the cursor position in a text
text1.selstart = len(text1.text)
Re: Setting the cursor position in a text
Cool thanks,
I thought selstart was just for starting a highlighted text
thanks :thumb: