Hi,
How to find the cursor position in the TextBox....
Thanks in advance
Printable View
Hi,
How to find the cursor position in the TextBox....
Thanks in advance
Code:TextBox1.SelStart
Is working fine,
How to insert the Text in Textbox where the cursor position blinks.
Thanks in advance
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.
Its working fine anhn.
Is working fine.
Code:TextBox1.Text = Left(TextBox1.Text, TextBox1.SelStart) & ChrW(8211) & Mid(TextBox1.Text, TextBox1.SelStart + 1, Len(TextBox1.Text))