> What I have a problem with is to implement a Messagebox which can 
> be called from anywhere in the application and returns a value 
> based on the button clicked. The gui work is easy with qooxdoo but 
> the routine calling my Messagebox function does not "wait" for the 
> returncode. 

That's entirely correct. You are opening a window. The browser doesn't
wait for the window to be opened and to be executed. 

Take a look at
http://qooxdoo.org/documentation/0.7/snippets/asynchronous_user_interactio
n

which will give you an idea of how you have to do it. Basically your main
thread of execution has to continue when showing the message box. It can
simply finish, and the callback function is called when the button is
pressed. 

However, also take a look at this thread:

http://www.nabble.com/Common-Dialog-Mixin-for-0.8--td21372412.html

Hugh

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to