一个循环语句,调用另一个窗体,等待窗体关闭后,继续执行循环,如何做?
for i=1 to 100
   if i=10 then 
      load form1
      form1.show
   endif
next i上边的语句打开窗体后,继续执行了,没有等待,我需要等待form1窗体关闭后,继续执行循环