On Dec 3, 2007 6:50 PM, Mathias Bauer <[EMAIL PROTECTED]> wrote: > This only helps for the case where the GUI is used. If a script or any > other code closed the document or frame directly (through its XCloseable > interface) it would bypass your interceptor. The XCloseListener is the > more general and safe approach.
Thanks for your detailed explanation. I tried it and it works, but partially ... I would like to prevent the inner document from being closed too. If I register close listener for the frame, I can prevent the whole OO.o from being closed, but not a single document window. I tried to search more on this topic and found your answer from September 2006. <answer> > So how do I prevent the inner document window from being closed? As I wrote already: >> Of course you can't prevent the window from being closed here - in >> fact you can't do it at all as I have to admit. Sorry for the bad news. </answer> Is your answer still valid? If yes, I have to use Sascha's way even if there are some limitations you already described. -- Robert Vojta --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
