Hi Jordi,

You can search the macro & api forum on openoffice.org for intercepting events to get some hints. I think there is some interception code in the developers guide too. Currently I do not have enough time to find some snippet for you, but if you can't find something useful i could come back to you during the weekend.

Cheers
Harald



Jordi Sanchez schrieb:
Thank you Harald,

Could you give me some example (code snippet) or link to it for
intercepting this "action".

Thanks in advance.

Harald Weyhing wrote:
Hi Jordi,

since OOo 2.1.0 you can intercept .uno:CloseWin to prevent a click on
the x-closer icon to close your document.
Good luck
Harald



Jordi Sanchez schrieb:
Hi all,

I'm suffering a problem for handling properly the document's closing
action.
As I've seen, I'm not the first suffering this kind of problem (
http://api.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=15467 or
http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=16017)

Taking into account the last information I have about this issue (posted
by Mathias Bauer:
http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=16025)  Could
I consider the current behavior as a bug? If not, Could someone explain
me what I'm doing wrong?

PS: Is there some way to disable (programmatically) the "x"-closer in
the document's frames. I see that if there is more than one document
open, the inner "x"-closer disappear.

Thank you very much.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to