For anyone who has actually followed this - my solution (the hide() followed by show()) is not actually a particularly viable solution. It works, more or less, as long as there are no items inside the Window (the class that extends DialogBox), such as Buttons, TextBoxes, etc.
In Firefox 5, a Button will still work, but a TextBox will never be able to get focus. In IE8, a Button will require a double-click to work, but a TextBox can still be used correctly. I don't know what other side effects will happen with other Widgets. Back to the drawing board.... On Nov 11, 4:17 pm, King_V <[email protected]> wrote: > Well, this is embarrassing, but maybe the answer will help someone > else who's run into the same problem. > > Override the onBrowserEvent() method in my own subclass of DialogBox > as follows: > > @Override > public void onBrowserEvent(Event event) { > switch(event.getTypeInt()) { > case Event.ONMOUSEDOWN: > hide(); > show(); > } > super.onBrowserEvent(event); > } > > And that does it, with no ill effects in terms of obscuring the > MenuBar objects. Sheesh, I must now hold the record for shortest time > between someone posting and answering their own question! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
