Suppose i have called a function in my command button of VB form. But before this function has finished can i suspend the execution of the next line (the code line just after the mentioned function)? How can this be achieved?
Printable View
Suppose i have called a function in my command button of VB form. But before this function has finished can i suspend the execution of the next line (the code line just after the mentioned function)? How can this be achieved?
code in the command button's routine will not continue until the called function has completed. you have to write "callbacks" to do it differently.
john
John Pirkey
MCSD
http://www.ShallowWaterSystems.com
http://www.stlvbug.org
And to block all the events (and their queuing too) while the function is not finished?
Nope just prevent the execution of the next line of code.