|
-
Dec 15th, 2007, 09:41 AM
#1
Thread Starter
Addicted Member
[RESOLVED] [2008] Move the cursor in the textbox
Hi,
when the textbox got selected (and have some text) I need to move the cursor to the last position? or in the middle? how can I do that?
-
Dec 15th, 2007, 10:30 AM
#2
Re: [2008] Move the cursor in the textbox
Use the Select method specifying the start yourself and using 0 for length.
TextBox1.Select(3, 0) 'moves the caret 3 chars right from the beginning
TextBox1.Select(TextBox1.Text.Length, 0) 'Moves the caret to the end and beyond
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
|