Jump to content

Get Current Edit Line


Recommended Posts

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 by JustinReno
Link to comment
Share on other sites

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

Remarks

If $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 containing

the beginning of the selection.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...