View Full Version : Need help in form calling properties


ashishprem
03-30-2008, 02:23 AM
Hi,
I need some help in calling form..
A function is being executed in a form1. In this function a call is there to open form2. The form2 opens. No problem in this. But when form2 opens it resumes the execution of the remaining part of the function in Part1.
What I want is once form2 opens it should pause the exeution of form1 and once form2 is closed then resume the execution of form1. Any suggestion to implement this.

Ashish

ajetrumpet
03-30-2008, 04:54 AM
maybe you could issue a conditional statement at the beginning of the function that checks to see weather form 2 is loaded. If it is, use the GOTO statement to jump to the line of the function you want. Another option might be to just issue the top portion of the function at one time and use the bottom portion of it with the ONCLOSE event of form 2...??