You've already forked lazarus-ccr
42 lines
578 B
ObjectPascal
42 lines
578 B
ObjectPascal
![]() |
unit Unit3;
|
||
|
|
||
|
{$mode objfpc}{$H+}
|
||
|
|
||
|
interface
|
||
|
|
||
|
uses
|
||
|
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
|
||
|
StdCtrls;
|
||
|
|
||
|
type
|
||
|
|
||
|
{ TForm3 }
|
||
|
|
||
|
TForm3 = class(TForm)
|
||
|
Memo1: TMemo;
|
||
|
Panel1: TPanel;
|
||
|
procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
||
|
private
|
||
|
{ private declarations }
|
||
|
public
|
||
|
{ public declarations }
|
||
|
end;
|
||
|
|
||
|
var
|
||
|
Form3: TForm3 = nil;
|
||
|
|
||
|
implementation
|
||
|
|
||
|
{$R *.lfm}
|
||
|
|
||
|
{ TForm3 }
|
||
|
|
||
|
procedure TForm3.FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
||
|
begin
|
||
|
CloseAction:=caFree;
|
||
|
Form3:=nil;
|
||
|
end;
|
||
|
|
||
|
end.
|
||
|
|