|
-
Mar 16th, 2006, 01:32 PM
#1
Thread Starter
Fanatic Member
[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?
-
Mar 16th, 2006, 01:40 PM
#2
Fanatic Member
Re: Setting the cursor position in a text
text1.selstart = len(text1.text)
-
Mar 16th, 2006, 01:44 PM
#3
Thread Starter
Fanatic Member
Re: Setting the cursor position in a text
Cool thanks,
I thought selstart was just for starting a highlighted text
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|