// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Ibdatabaseedit.pas' rev: 10.00

#ifndef IbdatabaseeditHPP
#define IbdatabaseeditHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Extctrls.hpp>	// Pascal unit
#include <Ibdatabase.hpp>	// Pascal unit
#include <Ib.hpp>	// Pascal unit
#include <Ibxconst.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Ibdatabaseedit
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TIBDatabaseEditForm;
class PASCALIMPLEMENTATION TIBDatabaseEditForm : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Extctrls::TPanel* Panel1;
	Stdctrls::TEdit* DatabaseName;
	Stdctrls::TLabel* Label1;
	Stdctrls::TRadioButton* LocalRbtn;
	Stdctrls::TRadioButton* RemoteRbtn;
	Stdctrls::TButton* Browse;
	Stdctrls::TGroupBox* GroupBox1;
	Stdctrls::TEdit* UserName;
	Stdctrls::TEdit* Password;
	Stdctrls::TEdit* SQLRole;
	Stdctrls::TLabel* Label2;
	Stdctrls::TLabel* Label3;
	Stdctrls::TLabel* Label4;
	Stdctrls::TMemo* DatabaseParams;
	Stdctrls::TButton* OKBtn;
	Stdctrls::TButton* CancelBtn;
	Stdctrls::TButton* HelpBtn;
	Stdctrls::TLabel* Label5;
	Stdctrls::TCheckBox* LoginPrompt;
	Stdctrls::TLabel* Label6;
	Stdctrls::TComboBox* CharacterSet;
	Stdctrls::TEdit* ServerName;
	Stdctrls::TComboBox* Protocol;
	Stdctrls::TLabel* Label7;
	Stdctrls::TLabel* Label8;
	Stdctrls::TButton* Test;
	void __fastcall RemoteRbtnClick(System::TObject* Sender);
	void __fastcall BrowseClick(System::TObject* Sender);
	void __fastcall LocalRbtnClick(System::TObject* Sender);
	void __fastcall OKBtnClick(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall HelpBtnClick(System::TObject* Sender);
	void __fastcall UserNameChange(System::TObject* Sender);
	void __fastcall PasswordChange(System::TObject* Sender);
	void __fastcall SQLRoleChange(System::TObject* Sender);
	void __fastcall CharacterSetChange(System::TObject* Sender);
	void __fastcall TestClick(System::TObject* Sender);
	
private:
	Ibdatabase::TIBDatabase* Database;
	bool __fastcall Edit(void);
	AnsiString __fastcall GetParam(AnsiString Name);
	void __fastcall AddParam(AnsiString Name, AnsiString Value);
	void __fastcall DeleteParam(AnsiString Name);
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TIBDatabaseEditForm(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TIBDatabaseEditForm(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TIBDatabaseEditForm(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TIBDatabaseEditForm(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TIBDatabaseEditForm* IBDatabaseEditForm;
extern PACKAGE bool __fastcall EditIBDatabase(Ibdatabase::TIBDatabase* ADatabase);

}	/* namespace Ibdatabaseedit */
using namespace Ibdatabaseedit;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Ibdatabaseedit
