is there any api throug wich the cursor could be moved in a
text box.
:) :( :o :D ;) :p :mad: :rolleyes: :cool: :eek: :confused:
Printable View
is there any api throug wich the cursor could be moved in a
text box.
:) :( :o :D ;) :p :mad: :rolleyes: :cool: :eek: :confused:
If the textbox is in your app..
then Text1.setfocus
no to change the cursor position within the text box
To move the | cursor, use the SelStart property.
Code:Text1.SelStart = 0 'moves | cursor to first position in text1
isn't there any api or any other function.
Send the EM_SETSEL message.
Try the SetCaretPos API function.
Code:Private Declare Function SetCaretPos Lib "user32" _
(ByVal x As Long, ByVal y As Long) As Long