lazarus/components/lazreport/source/lr_vared.pas
jesus d0a347df28 Added LazReport components
git-svn-id: trunk@11950 -
2007-09-06 19:47:34 +00:00

62 lines
1.2 KiB
ObjectPascal

{*****************************************}
{ }
{ FastReport v2.3 }
{ Variables editor }
{ }
{ Copyright (c) 1998-99 by Tzyganenko A. }
{ }
{*****************************************}
unit LR_Vared;
interface
{$I LR_Vers.inc}
uses
Classes, SysUtils, LResources,
Forms, Controls, Graphics, Dialogs,
Buttons, StdCtrls,
LR_Class,LR_Const;
type
TfrVaredForm = class(TForm)
Button4: TButton;
Button5: TButton;
Memo1: TMemo;
Label1: TLabel;
procedure FormActivate(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
Doc: TfrReport;
end;
var
frVaredForm: TfrVaredForm;
implementation
procedure TfrVaredForm.FormActivate(Sender: TObject);
begin
Memo1.Lines.Assign(Doc.Variables);
end;
procedure TfrVaredForm.FormCreate(Sender: TObject);
begin
Caption := sVaredFormCapt;
Label1.Caption := sVaredFormCat;
Button4.Caption := sOk;
Button5.Caption := sCancel;
end;
Initialization
{$I lr_VarEd.lrs}
end.