G gtln Unregistered / Unconfirmed GUEST, unregistred user! 2007-10-19 #1 点击A窗口的Button显示B窗口, 点击B窗口的Button显示C窗口,同时B窗口关闭, 点击C窗口的Button再次显示B窗口,
A ANiDelphi Unregistered / Unconfirmed GUEST, unregistred user! 2007-10-19 #2 A: uses B; A.ButtonClick: B.Show; B: uses C; B.ButtonClick; begin C.Show; Close; //Self.Close; //B.Close; end; C: uses B; C.ButtonClick; B.Show;
A: uses B; A.ButtonClick: B.Show; B: uses C; B.ButtonClick; begin C.Show; Close; //Self.Close; //B.Close; end; C: uses B; C.ButtonClick; B.Show;
G gtln Unregistered / Unconfirmed GUEST, unregistred user! 2007-10-20 #3 试过 我用的是 ShowModal 当显示C窗口时,B窗口Close,但B在C窗口后面仍然显示
H hs-kill Unregistered / Unconfirmed GUEST, unregistred user! 2007-10-20 #4 ......干吗用ShowModal? ShowModal要等待窗口关闭后才执行后面的语句呢