locutus243 Posted May 10, 2007 Share Posted May 10, 2007 I think this is something very simple that I'm missing. But I am trying to make sure that when the user presses enter in my input box then it moves to the next line (just as it would in notepad, microsoft word etc...). At the moment when you press enter it doesn't do anything, and I can't see what I'm doing wrong. I've included the relevant line of code below, hopefully someone can shed some light. $ProblemDetails = GuiCtrlCreateInput("Enter Details Of The Problem Here", 20, 260, 465, 200, $ES_MULTILINE, $ES_WANTRETURN) Cheers Mark Link to comment Share on other sites More sharing options...
smashly Posted May 11, 2007 Share Posted May 11, 2007 Works for me $ProblemDetails = GUICtrlCreateInput("Enter Details Of The Problem Here", 20, 260, 465, 200, $ES_MULTILINE + $ES_WANTRETURN) Cheers Link to comment Share on other sites More sharing options...
locutus243 Posted May 11, 2007 Author Share Posted May 11, 2007 Works for me $ProblemDetails = GUICtrlCreateInput("Enter Details Of The Problem Here", 20, 260, 465, 200, $ES_MULTILINE + $ES_WANTRETURN) Cheers Hiya, Seems it was the '+' I was missing. I knew it would be something simple like that. Working a treat now...I just didn't realise the protocol for including more than one style. Many Thanks Mark Link to comment Share on other sites More sharing options...
smashly Posted May 11, 2007 Share Posted May 11, 2007 lol , was going to ask why not use Edit instead of input , but I thought there must of been some reason he requested a multi line input, so I didn't query it 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