Jump to content

$ES_WANTRETURN not working


Recommended Posts

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...