VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Get and manipulate the position of the cursor in a textbox, or put the cursor at the end of the str

by Dennis Anthony (3 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 23rd October 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Get and manipulate the position of the cursor in a textbox, or put the cursor at the end of the string.

API Declarations


'This code returns the position of the cursor while
'putting it at the end of the string.

Rate Get and manipulate the position of the cursor in a textbox, or put the cursor at the end of the str



   Text1.SelStart = Len(Text1.Text) + 1
   Text2.Text = Text1.SelStart
End Sub

Download this snippet    Add to My Saved Code

Get and manipulate the position of the cursor in a textbox, or put the cursor at the end of the str Comments

No comments have been posted about Get and manipulate the position of the cursor in a textbox, or put the cursor at the end of the str. Why not be the first to post a comment about Get and manipulate the position of the cursor in a textbox, or put the cursor at the end of the str.

Post your comment

Subject:
Message:
0/1000 characters