RE: return value from dialog window

new topic     » goto parent     » topic index » view thread      » older message » newer message

Brian Broker wrote:
> Horvath Stefan wrote:
> > it works fine, here's the code. Thank you ck.
> > But I think to make without global variable, if it is possible.
> 
> I must be misunderstanding your request but what's wrong with using
> message_box() instead of a custom dialog?

I think he didn't want to be confined to just "Yes" and "No" responses.
With this method, you could also return the state of checkboxes, etc...

x = runDialog( myDialog )
-- x now might equal {"Yes","No","Maybe",3,0}

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu