dantay9 Posted March 25, 2009 Share 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 Link to comment Share on other sites More sharing options...
ResNullius Posted March 26, 2009 Share 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)) Link to comment Share on other sites More sharing options...
dantay9 Posted March 26, 2009 Author Share 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 Link to comment Share on other sites More sharing options...
isolation Posted March 26, 2009 Share Posted March 26, 2009 $Input = GUICtrlCreateInput("", 15, 15, 195, 40,BitOR($ES_RIGHT,$ES_READONLY,$ES_MULTILINE)) Link to comment Share on other sites More sharing options...
dantay9 Posted March 26, 2009 Author Share 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? Link to comment Share on other sites More sharing options...
ResNullius Posted March 28, 2009 Share 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? 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