GioVit 0 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 Share this post Link to post Share on other sites
GaryFrost 18 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. Share this post Link to post Share on other sites
GioVit 0 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 Share this post Link to post Share on other sites