user3154688
user3154688

Reputation: 5

how can we gray out background when we make setmodal(false) in window in gwt

In window I am using setmodal(true) so mouse events are not working. Hence, I changed to setmodal(false) but background is not gray out hence we can able to click the buttons below the dialog box. So kindly advise me how to gray out, after making setmodal(false) in GWT

Upvotes: -1

Views: 850

Answers (1)

Onkar
Onkar

Reputation: 662

Use setGlassEnabled(true) to grey out along with the setmodal(false). Refer here for details.

Upvotes: 1

Related Questions