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 [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.

Reply via email to