git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.FastReport@22 475b051d-3a53-6940-addd-820bf0cfe0d7
47 lines
910 B
ObjectPascal
47 lines
910 B
ObjectPascal
unit frxConnItemEdit;
|
|
|
|
interface
|
|
|
|
uses
|
|
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
|
|
Dialogs, StdCtrls, ExtCtrls, frxClass;
|
|
|
|
type
|
|
TfrxConnectionItemEdit = class(TForm)
|
|
Panel1: TPanel;
|
|
ConnL: TLabel;
|
|
ConnE: TEdit;
|
|
ConnB: TButton;
|
|
OkB: TButton;
|
|
CancelB: TButton;
|
|
NameL: TLabel;
|
|
NameE: TEdit;
|
|
GroupBox1: TGroupBox;
|
|
SystemRB: TRadioButton;
|
|
UserRB: TRadioButton;
|
|
procedure ConnBClick(Sender: TObject);
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
{ Public declarations }
|
|
Report: TfrxReport;
|
|
end;
|
|
|
|
var
|
|
frxConnectionItemEdit: TfrxConnectionItemEdit;
|
|
|
|
implementation
|
|
|
|
{$R *.dfm}
|
|
|
|
procedure TfrxConnectionItemEdit.ConnBClick(Sender: TObject);
|
|
begin
|
|
if Assigned(Report) and Assigned(Report.OnEditConnection) then
|
|
ConnE.Text := Report.OnEditConnection(ConnE.Text);
|
|
end;
|
|
|
|
end.
|
|
|
|
|
|
//
|