dantay9 Posted March 25, 2009 Posted March 25, 2009 (edited) I have a script for a calculator, but I can't get the edit control to scroll to the right when the text fills up the first line. I thought it was $ES_AUTOHSCROLL, but that doesn't seem to be working. Thanks in advance.Calculator.au3 Edited March 25, 2009 by dantay9
ResNullius Posted March 26, 2009 Posted March 26, 2009 I have a script for a calculator, but I can't get the edit control to scroll to the right when the text fills up the first line. I thought it was $ES_AUTOHSCROLL, but that doesn't seem to be working. Thanks in advance.Use an Input control instead of an Edit: $Input = GUICtrlCreateInput("", 15, 15, 195, 40, BitOR($ES_RIGHT,$ES_READONLY))
dantay9 Posted March 26, 2009 Author Posted March 26, 2009 (edited) Thanks a lot, but now I can't use two lines in the input box. Only one line is available. Edited March 26, 2009 by dantay9
isolation Posted March 26, 2009 Posted March 26, 2009 $Input = GUICtrlCreateInput("", 15, 15, 195, 40,BitOR($ES_RIGHT,$ES_READONLY,$ES_MULTILINE))
dantay9 Posted March 26, 2009 Author Posted March 26, 2009 It still doesn't let me move to the next line. I am using the @CRLF macro. Is that the problem?
ResNullius Posted March 28, 2009 Posted March 28, 2009 It still doesn't let me move to the next line. I am using the @CRLF macro. Is that the problem?Under what conditions are you needing to move to the next line?When the user hits a function button?Are you looking for a display that records/displays what was entered in multiple steps?
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