Sign in to follow this  
Followers 0
locutus243

$ES_WANTRETURN not working

4 posts in this topic

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

Share this post


Link to post
Share on other sites



Works for me :)

$ProblemDetails = GUICtrlCreateInput("Enter Details Of The Problem Here", 20, 260, 465, 200, $ES_MULTILINE + $ES_WANTRETURN)

Cheers

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0