E ewind Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-12 #1 现在有5、6个Form,不是MDI的。怎么能把其他的Form全关掉,只留一个主的Form?
小 小猪 Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-12 #2 eneuwindows() 好像有这么个函数,就算是灌水吧. 查查windows api吧
E ewind Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-12 #3 我没说明白,这5、6个Form全是我的一个程序里的,我想把他们除主的Form外其他的全关掉
S snake Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-12 #4 for i:=0 to screen.FormCount-1 do if screen.Forms<>application.MainForm then screen.Forms.Close;
for i:=0 to screen.FormCount-1 do if screen.Forms<>application.MainForm then screen.Forms.Close;