how to avoid mulitple dilogbox opening from the parent window

22 views
Skip to first unread message

Dayananda B V

unread,
Apr 24, 2012, 7:25:59 AM4/24/12
to Google Web Toolkit
Hi All,

I have 4 labels in parent window for each label i need to open a
dilogbox, if a dilogbox already open, the remaing 3 lablels click
should not open dilogbox. i have set setModel(true) in dilogbox,
however i can still click on parent window labels, which opens
dilogbox. Is there any way to make parent window readable.
appreciate your help.

Thanks
Daya

Thad

unread,
Apr 24, 2012, 1:30:03 PM4/24/12
to google-we...@googlegroups.com
You could create one dialog and four widgets that are the dialog content. When the label is clicked, call setWidget() for the desired contents (and setText() if desired) then call show() to show the dialog (in case it's not already visible).

Andrei

unread,
Apr 24, 2012, 3:39:24 PM4/24/12
to Google Web Toolkit
Add .setGlassEnabled to your dialog boxes.

Dayananda B V

unread,
Apr 26, 2012, 3:33:28 AM4/26/12
to Google Web Toolkit
thank for your replay, however i should not able to click on parent
until the child window which is opend is closed, so i need to
make parent window read only.
> > Daya- Hide quoted text -
>
> - Show quoted text -

Dayananda B V

unread,
Apr 27, 2012, 3:08:47 AM4/27/12
to Google Web Toolkit
Hi Andrei,
setGlassEnabled is worked.
thanks you so much, appreciate your help
Reply all
Reply to author
Forward
0 new messages