Tuesday, September 7, 2010

how to use modal dialog boxes?

Hi,

I want to use a modal DialogBox and used setModal.

The GUI makes it modal, but my code after dialog.center (); gets
executed immediately.

How can I do it so that code execution waits? Must I do this with
asynchronous calls? Can you give an example?

The application is a chess game. When a pawn reaches the last row, the
user should first select a figure (queen, rook, ...), and the move
should not be completed before this selection has finished...

Thanks
Magnus

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment