Hi,
Qooxdoo is great, really!
But there is no dialog widget (or I didn't find it).
I tried to create my own, but because I am a qooxdoo beginner, I failed.
I simple want to have a widget the behaves like JavaScript window.confirm()
but with a nicer appearance and variable content.
My main problem is, how to wait until the user pressed a button in my
modal window
to return which button was pressed to the caller (like this: var ok =
window.confirm()).
Is there a function to wait for an event (button's execute) like:
function showDialog(...)
{
var w = qx.ui.window.Window(); // this is my dialog window
w.set(....); w.add(...); // setup the modal dialog
w.show(); // show the dialog
w.waitForEvent("myEvent"); // wait until "myEvent" is fired (by
the pressed button)
return(value); // value is set by the pressed button
}
Or how do you mean, that I can solve my problem?
Thanks for response,
Erich
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel