Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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 :)

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...