My app will have a few modal windows which will collect info from the  
user. The user will have the option of a CANCEL or an OK button to end  
his input. At this time the modal window will close and the root  
window will be unblocked.

In my first attempt at this I am using a numeric keypad (using the  
calculator demo for guidance) to collect a sequence of digits (this  
app is touchscreen based and there will be no keyboard). I have  
implemented the keypad in a qooxdoo class. I am able to create the  
modal window from the main app, blocking the root widget and collect  
the digits from the keypad. I am looking for some way to return the  
string of digits back to the main app class.

I am thinking that I want to listen for an event in the main app and  
generate an event in the keypad class. I have looked at (and attempted  
using) qx.event.Registration.fireEvent() but I cannot find any  
examples of this in my searches. The 3rd and 4th arguments of  
fireEvent() mystify me too.

First of all, does this sound like a reasonable way of doing this?

Second, if this is reasonable, can anyone give pointers or examples?

Thanks,
Larry Blische


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to