Jump to content

Recommended Posts

Posted (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 by dantay9
Posted

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))
Posted (edited)

Thanks a lot, but now I can't use two lines in the input box. Only one line is available.

Edited by dantay9
Posted

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?

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
×
×
  • Create New...