JustinReno Posted January 4, 2008 Share Posted January 4, 2008 (edited) I've looked through the help file and couldn't find a function to get the current line on an edit control. I'm making a CMD style window and need to read the commands on the previous line of an edit control. My thinking is getting the current line and subtracting it by one. Are there any work arounds, UDF's, functions or anything that could point me in the correct direction? Thanks. Edited January 4, 2008 by JustinReno Link to comment Share on other sites More sharing options...
The Ape Posted January 4, 2008 Share Posted January 4, 2008 I've looked through the help file and couldn't find a function to get the current line on an edit control. I'm making a CMD style window and need to read the commands on the previous line of an edit control. My thinking is getting the current line and subtracting it by one.Are there any work arounds, UDF's, functions or anything that could point me in the correct direction? Thanks. _GUICtrlEdit_LineFromChar RemarksIf $iIndex is 1, _GUICtrlEdit_LineFromChar retrieves either the line number of the current line(the line containing the caret) or, if there is a selection, the line number of the line containingthe beginning of the selection. FixJaw.comTriad-Art.com Link to comment Share on other sites More sharing options...
JustinReno Posted January 4, 2008 Author Share Posted January 4, 2008 Ok, thanks. 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