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