Mathias Röllig wrote:

> Hello!
> 
> I have a calc template with macros and a dialog in it.
> The main macro is bound to the event "create document" of the template.
> The macro loads the dialog.
> 
> If i double click the template file (linux, ubuntu) and a other
> OOo-window is open, the dialog starts behind the new document in front
> of the former top OOo-window.

That is strange. The events "Create/OpenDocument" have been defined in a
way that they won't be fired before the document they belong to got the
focus for the first time. I'm pretty sure this works well for "Open
Document", may be "Create Document" has a bug. Can you test if the macro
works fine if you assing it to the "Open Document" event of the template
and then open the template for editing?

BTW: which platform?

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

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

Reply via email to