GioVit Posted October 12, 2007 Share Posted October 12, 2007 The ControlCommand function can return the current caret position in an input control (the value retunned is in chars or column position in the string value). So the question is, is there a way to let me set the caret position in an input control giving the char or column position of the string as parameter Thanks in advance Link to comment Share on other sites More sharing options...
GaryFrost Posted October 12, 2007 Share Posted October 12, 2007 look at _GUICtrlEdit_SetSel in the beta, just set the start and end position to the same to set the caret to that pos SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
GioVit Posted October 12, 2007 Author Share Posted October 12, 2007 Wow!!! Again, that was a really fast answer Gary many thanks I was trying to find the answer in google and thought it was impossible. it is incredible the things you can learn in this forum Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now