So I made a small MessageBox class. You pass in a question, and it creates a dialog box with the question and a yes or no.
Is there a way I can do something like MessageBox mb = new MessageBox(question); mb.show(); //Wait till they Yes or No mb.getAnswer(); //Act on Yes or No. I could do it if I made the entire Messagebox class in my current function and add the action to the Yes or No buttons instead of acting on the boolean returned from mb.getAnswer(), but I want to use a default MessageBox class. It's kind of like I am looking for an Asynccallback. Can I do that, without RPC's. Just between a dialgobox and it's parent? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---