|
-
Jun 19th, 2008, 07:00 AM
#1
Thread Starter
Member
[RESOLVED] [word]How to find the cursor position..
Hi,
How to find the cursor position in the TextBox....
Thanks in advance
-
Jun 19th, 2008, 07:11 AM
#2
Re: [word]How to find the cursor position..
-
Jun 19th, 2008, 09:01 AM
#3
Thread Starter
Member
Re: [word]How to find the cursor position..
Is working fine,
How to insert the Text in Textbox where the cursor position blinks.
Thanks in advance
-
Jun 19th, 2008, 09:14 AM
#4
Re: [word]How to find the cursor position..
With i = TextBox1.SelStart, split TextBox1.Text into 2 parts at position i using Left() and Mid(), join them together with AddedText in the middle.
-
Jun 20th, 2008, 04:02 AM
#5
Thread Starter
Member
Re: [word]How to find the cursor position..
-
Jun 20th, 2008, 04:12 AM
#6
Thread Starter
Member
Re: [RESOLVED] [word]How to find the cursor position..
Is working fine.
Code:
TextBox1.Text = Left(TextBox1.Text, TextBox1.SelStart) & ChrW(8211) & Mid(TextBox1.Text, TextBox1.SelStart + 1, Len(TextBox1.Text))
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
|