HI., try adding a click listener, (For SMART_GWT also..)
Which ll do a close by clicking he dialog
Dialog dias=new Dialog();
dias.setTitle("");
dias.setSize("500", "400");
dias.addClickHandler(new ClickHandler(){
public void onClick(ClickEvent event) {
dias.hide();
}
});
On Apr 17, 10:17 am, Tail <[email protected]> wrote:
> How to add close button to DialogBox title bar?
>
> DialogBox dialog = new DialogBox();
> dialog .setHTML("<div><span style='float:right;cursor: pointer;'
> onclick='alert(3)' >X</span>Login ...</div>");
>
> Is any way how javascriopt to call dialog.hide();
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---