Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check if code is running

Status
Not open for further replies.

dendic

Programmer
Jan 19, 2003
106
US
In a form I have a timer set to run a refresh. I also have code running for other functions mainly (On Mouse Move). Is there any way to check if the code is complete because I don't want to do a refresh until all code is finished?
 
Use a Global Boolean variable you set (and reset) in the event procedures and you check in the Timer one.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks for the reply but can you give me an example?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top