Mathias Röllig wrote:

> Am 15.05.2007 16:13 schrieb Mathias Röllig:
>> It is a writer document with a database form on it.
>> The database form is connected to a database. So it is possible that the
>> makro not need to wait for the document but that the database connection
>> is established(?).
> 
> With the knowledge that the macro must wait for the form load i could
> solve the first problem:
> 
> Do Until oForm.isLoaded
>  Wait( 100 )
> Loop

This has the drawback that it is "busy waiting", costs CPU time and can
create reentrance problems. But in case there's no listener that allows
to wait in passive state (don't know that, sorry) it's indeed the only
chance.

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