1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
{*****************************************}
{ }
{ FastReport v2.3 }
{ Search dialog }
{ }
{ Copyright (c) 1998-99 by Tzyganenko A. }
{ }
{*****************************************}
unit LR_Srch;
interface
{$I LR_Vers.inc}
uses
Classes, SysUtils, LResources,Forms, Controls, Graphics, Dialogs,
StdCtrls,Buttons, ButtonPanel, ExtCtrls, LR_Const;
type
{ TfrPreviewSearchForm }
TfrPreviewSearchForm = class(TForm)
ButtonPanel1: TButtonPanel;
GroupBox1: TCheckGroup;
Label1: TLabel;
Edit1: TEdit;
Label2: TLabel;
GroupBox2: TRadioGroup;
procedure FormActivate(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frPreviewSearchForm: TfrPreviewSearchForm;
implementation
{$R *.lfm}
procedure TfrPreviewSearchForm.FormActivate(Sender: TObject);
begin
Edit1.SetFocus;
Edit1.SelectAll;
end;
procedure TfrPreviewSearchForm.FormCreate(Sender: TObject);
begin
Caption := sFindTextCaption;
Label1.Caption := sFindTextText;
GroupBox1.Caption := sFindTextOptions;
GroupBox1.Items.Clear;
GroupBox1.Items.Add(sFindTextCase);
//CB1.Caption := sFindTextCase;
GroupBox2.Caption := sFindTextOrg;
GroupBox2.Items.Clear;
GroupBox2.Items.Add(sFindTextFirstPg);
GroupBox2.Items.Add(sFindTextCurrentPg);
//RB1.Caption := sFindTextFirstPg;
//RB2.Caption := sFindTextCurrentPg;
//Button1.Caption := sOk;
//Button2.Caption := sCancel;
end;
end.
|