mmm seems that you have to add event "blur" manually to the window
and inside the listener call window.close(); in this way:
window.addEvent("blur");
window.addListener("blur", new Function() {
public void execute() {
window.close();
}
});
i did'n tried it...try it and let me know if it solves...
sorry the first time i understood a different thing....
bye PAt
2009/7/28 Subash K S. <[email protected]>
> Its not working i have just given window.fireEvent("close") but after that
> by clicking outside the window does not close the window
>
> On Tue, Jul 28, 2009 at 12:48 PM, Patrizio De Michele <[email protected]
> > wrote:
>
>> window.fireEvent("close")
>>
>> 2009/7/28 subbu <[email protected]>
>>
>>
>>> Hi all,
>>> By clicking on a button i am opening a window.I want to
>>> close this window by clicking outside of this window.Is there any
>>> event for that.
>>>
>>>
>>> Thanks and Regards,
>>> Subash
>>>
>>>
>>
>>
>>
>
>
> --
> Subash K S
> 09961278524
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---