Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (38 sloc) 885 Bytes
unit ViewView;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
StdCtrls, Buttons, SynEdit, SynHighlighterSQL;
type
{ TfmViewView }
TfmViewView = class(TForm)
bbClose: TBitBtn;
edName: TEdit;
Label1: TLabel;
Label2: TLabel;
seScript: TSynEdit;
SynSQLSyn1: TSynSQLSyn;
procedure bbCloseClick(Sender: TObject);
procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
private
{ private declarations }
public
{ public declarations }
end;
var
fmViewView: TfmViewView;
implementation
{ TfmViewView }
procedure TfmViewView.FormClose(Sender: TObject; var CloseAction: TCloseAction);
begin
CloseAction:= caFree;
end;
procedure TfmViewView.bbCloseClick(Sender: TObject);
begin
Close;
Parent.Free;
end;
initialization
{$I viewview.lrs}
end.
Something went wrong with that request. Please try again.