This is a nice idea but doesn't work too :-(.
On Thursday, March 14, 2013 9:27:45 AM UTC+1, Thomas Broyer wrote: > > Try adding the button's > element<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/UIObject.html#getElement()>as > an auto-hide > partner<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/PopupPanel.html#addAutoHidePartner(com.google.gwt.dom.client.Element)>of > the dialog. > > On Wednesday, March 13, 2013 9:11:43 AM UTC+1, Dominic Warzok wrote: >> >> ** >> >> Hey, I have a button which shows a DialogBox when you click on it. >> >> But if you click on the button while the DialogBox ist shown. It will be >> closed and then open again. >> >> It seems that the closeEvent of the DialogBox is thwrown before the >> clickEvent on the button. So if you check dialogBox.isShowing() it will >> open again. Because the dialog is closed when the clickEvent to show the >> box is thrown. >> >> My idea was to catch the onClick event and throw it away but I don't know >> how to do this. >> >> Anybody knows a way to fix this Problem? >> >> Thanks in advance >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
