unit ULDRFrmu;
{ Generated by MakeComp 1.02 from ULDRTYPE.PAS. Don't modify manually !!! }
interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  IniObj, StdCtrls, ULObju, ULEdFrm;

type
  TULDRForm = class(TULEditForm)
    AddrStrLbl: TLabel;
    AddrStrEdit: TEdit;
    IDNameLbl: TLabel;
    IDNameEdit: TEdit;
    DeviceNameLbl: TLabel;
    DeviceNameEdit: TEdit;
    DeviceModeLbl: TLabel;
    DeviceModeEdit: TComboBox;
    DeviceTypeLbl: TLabel;
    DeviceTypeEdit: TComboBox;
    IDDescLbl: TLabel;
    IDDescEdit: TEdit;
    ExtDevDrvNameLbl: TLabel;
    ExtDevDrvNameEdit: TEdit;
    DevicePortNameLbl: TLabel;
    DevicePortNameEdit: TEdit;
    OKBtn: TButton;
    CancelBtn: TButton;
    ParamsBtn: TButton;
    ULDRFormIni: TIniObject;
    procedure ParamsBtnClick(Sender: TObject);
    procedure FormCreate(Sender: TObject);
    procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  ULDRForm: TULDRForm;

implementation
{$R *.DFM}

procedure TULDRForm.ParamsBtnClick(Sender: TObject);
begin
  if Obj <> nil then
    Obj.Browse;
end;

procedure TULDRForm.FormCreate(Sender: TObject);
begin
end;

procedure TULDRForm.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
  if Sender = OKBtn then begin
    CanClose := Obj.IsValidInput(Self);
  end;
end;

end.
