On Thu, 31 May 2012, sts.wbs wrote:

> I'm writing a "MessageBox" dialog for showing
> information/warning/error/confirmation. We all know them from Windows. The
> JavaScript alert/confirm box is deprecated and not very pretty and I
> didn't find a replacement in qooxdoo. My MessageBox is complete, but just
> doesn't wait until the answer of the user.

Did you look at the Dialog contribution for Qooxdoo? It won't solve your
problem, though.

> I understand meanwhile that my demand may not possible and the solution
> would be to have no more instructions after opening the MessageBox and
> continue work with a callback funktion telling me by parameter which
> button was pressed. It's a little bit inconvenient, but it seems that
> there is no other way. Elsewise, let me know!

You could also register separate callback functions for each button. Apart
from that, I think this is the way to go.

Cheers,
Fritz

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to