How to make parent window read only and background color to gray when dialogbox open

99 views
Skip to first unread message

Dayananda B V

unread,
Apr 26, 2012, 3:39:31 AM4/26/12
to Google Web Toolkit
Hi All,

How to make parent window read only and background color to gray when
dialogbox open.
like swing dialog model.

appreciate your help

Thanks
Dayananda B V

Jens

unread,
Apr 26, 2012, 4:15:36 AM4/26/12
to google-we...@googlegroups.com
DialogBox.setGlassEnabled(), DialogBox.setModal().

-- J.

Steve Moyer

unread,
Apr 26, 2012, 8:58:12 AM4/26/12
to Google Web Toolkit
Or if you're using UiBinder, try something like:

<g:DialogBox autoHide="false" glassEnabled="true" modal="true"
ui:field="dialog">
</g:DialogBox>

Dayananda B V

unread,
Apr 27, 2012, 3:10:41 AM4/27/12
to Google Web Toolkit
Hi All,
setGlassEnabled is worked.
thanks you so much, appreciate your help



Reply all
Reply to author
Forward
0 new messages