RE: return value from dialog window
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/
|
Not Categorized, Please Help
|
|