mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-03 11:23:40 +02:00
40 lines
559 B
ObjectPascal
40 lines
559 B
ObjectPascal
unit fLogView;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
|
|
|
|
type
|
|
|
|
{ TLogView }
|
|
|
|
TLogView = class(TForm)
|
|
edLog: TMemo;
|
|
procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
|
private
|
|
{ private declarations }
|
|
public
|
|
{ public declarations }
|
|
end;
|
|
|
|
var
|
|
LogView: TLogView;
|
|
|
|
implementation
|
|
|
|
{$R *.lfm}
|
|
|
|
{ TLogView }
|
|
|
|
procedure TLogView.FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
|
begin
|
|
edLog.Clear;
|
|
CloseAction := caHide;
|
|
end;
|
|
|
|
end.
|
|
|