D df_zkj Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-23 #1 为什么关闭主窗体中子窗体时,子窗体反而处于最小化状态。
来 来如风 Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-23 #2 子窗体的关闭事件中 Action := caFree; 这样就可以关闭了
T thx1180 Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-23 #3 如果是MDI子窗体: procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction); begin Action := caFree; end;
如果是MDI子窗体: procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction); begin Action := caFree; end;