一个循环语句,调用另一个窗体,等待窗体关闭后,继续执行循环,如何做?
for i=1 to 100
if i=10 then
load form1
form1.show
endif
next i上边的语句打开窗体后,继续执行了,没有等待,我需要等待form1窗体关闭后,继续执行循环
for i=1 to 100
if i=10 then
load form1
form1.show
endif
next i上边的语句打开窗体后,继续执行了,没有等待,我需要等待form1窗体关闭后,继续执行循环
if i=10 then
form1.show vbmodal
endif
next i
if i=10 then
form1.show vbmodal
endif
next i
form1.show 1 这个可以解决问题,但是这段代码逻辑很怪异阿