how to determine the location cursor inside a textbox?
Printable View
how to determine the location cursor inside a textbox?
I think you can get the cursor location using the get or find window api.
Nightwalker83, can u give me sample code? :D
No sorry but I think there would be examples on the forum. Try searching for cursor location in textbox.
I searched the forum but i found none. thanks anyway! :)
U mean the X, Y coordinates of the mouse pointer???
...use MouseMove event
OR
The Cursor Carat in the text box...
Use:
WokaVB Code:
Debug.Print Text1.SelStart
its the Cursor Carat in the text box. Thanks Wokawidget! you got it! ;)