OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

macros are triggered too soon

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
big_cheez
OOo Enthusiast
OOo Enthusiast


Joined: 28 Mar 2009
Posts: 123

PostPosted: Thu Jul 09, 2009 3:51 am    Post subject: macros are triggered too soon Reply with quote

In one form a macro is triggered to open another form and manipulate a few objects.
Those objects have macros triggered by their status being changed.
The problem is the macros triggered by the objects in the second form execute before a macro that run when that second form is opened.
That macro initializes certain variables needed for the other macros to run.
I could probably use the wait function to let the form open and initialize itself.
This amount of time would vary on different computers and am unsure quite how long to wait.
Is there a way to use something similar to wait to suspend one macro until the other form is loaded and initialized?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group