FastReport_2022_VCL/LibD28/frxConnItemEdit.pas

52 lines
962 B
ObjectPascal
Raw Permalink Normal View History

2024-01-01 16:13:08 +01:00
unit frxConnItemEdit;
interface
{$I frx.inc}
uses
{$IFNDEF FPC}
Windows, Messages,
{$ENDIF}
SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, frxClass, frxBaseForm;
type
TfrxConnectionItemEdit = class(TfrxBaseForm)
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
{$IFDEF FPC}
{$R *.lfm}
{$ELSE}
{$R *.dfm}
{$ENDIF}
procedure TfrxConnectionItemEdit.ConnBClick(Sender: TObject);
begin
if Assigned(Report) and Assigned(Report.OnEditConnection) then
ConnE.Text := Report.OnEditConnection(ConnE.Text);
end;
end.