相关代码 |
|
unit Child1Unit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; type TChildForm1 = class(TForm) procedure FormClose(Sender: TObject; var Action: TCloseAction); private { Private declarations } public { Public declarations } end; var ChildForm1: TChildForm1; implementation {$R *.DFM} procedure TChildForm1.FormClose(Sender: TObject; var Action: TCloseAction); begin Action:=caFree; end; end.
相关资源 |
|