On 19 mai, 17:12, Dimedrol <[email protected]> wrote:
> Hello!
>
> When I call "Window.confirm(confirmationMessage)" it is always [OK]
> button is focused.
>
> Is it possible to change focus to [Cancel] button by default?
No, the Window.confirm(String) method is just calling the same-named
method from the browser; you cannot have any control on how it is
presented to the user.
The only solution would be to use a DialogBox (and go asynchronous!)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---