dialogBox.hide() is not working

2008-12-11 Thread prat

public void onMouseEnter(Widget sender) {

dialogBox.center();
dialogBox.show();

}

public void onMouseLeave(Widget sender) {

dialogBox.hide();

}


Dialog box appears but it doest go..
Pls find out the mistake..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: dialogBox.hide() is not working

2008-12-11 Thread Litty Preeth
you dnt hav to call dialogBox.center() and show() both... if you want to
centralize ur dialogBox then u can call dialogBox.center() alone. It will
both centralize ur dialogbox and shows it.

And I think the DialogBox class itself has a mouseListener for dragging. So
it could be tht the mouse events are captured by this listener.

- Litty

On Thu, Dec 11, 2008 at 11:50 PM, prat pspra...@gmail.com wrote:


 public void onMouseEnter(Widget sender) {

dialogBox.center();
dialogBox.show();

}

public void onMouseLeave(Widget sender) {

dialogBox.hide();

}


 Dialog box appears but it doest go..
 Pls find out the mistake..
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---