What does DoEvents do? I read everything in VB help but I still don't get its function.
------------------
Visual Basic Programmer
-----------------
PolComSoft
You will hear a lot about it.
Printable View
What does DoEvents do? I read everything in VB help but I still don't get its function.
------------------
Visual Basic Programmer
-----------------
PolComSoft
You will hear a lot about it.
When your program is very busy (like executing a quick loop), some events (like painting a screen, or the recognition of the fact that the user has clicked a command button) may not get a chance to happen. DoEvents "pauses" the current action to allow these other things to happen.
------------------
Marty
Thanks
------------------
Visual Basic Programmer
-----------------
PolComSoft
You will hear a lot about it.
Also, DoEvents returns the number of all open VB Forms. Not very useful...
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879