Hello Mathias!

>> 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?

It's the same behavior with a *.ods if i assign the macro to "Open
Document". (With the template it has no effect by double clicking it. ;-) )


> BTW: which platform?

How i wrote in the 2. paragraph: Linux/Ubuntu.


Greetings
        Mathias
-- 
·-· cut here ·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·->8·-·

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

Reply via email to