需要在子窗口的onClose事件中吧Action = caFree; 就可以了。
procedure Tfrm_aa.FormClose(Sender: TObject; var Action: TCloseAction);begin Action := caFree;end;
Powered by: 博客园 Copyright © 2024 ╰★张志峰★╮ Powered by .NET 9.0 on Kubernetes