Sign in to follow this  
Followers 0
JustinReno

Get Current Edit Line

3 posts in this topic

#1 ·  Posted (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 by JustinReno

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Ok, thanks. :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0