home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
DBEDIT.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
3KB
|
90 lines
//----------------------------------------------------------------------------
// DBEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: DBEdit.pas
//----------------------------------------------------------------------------
#ifndef DBEditHPP
#define DBEditHPP
//----------------------------------------------------------------------------
#include <DB.hpp>
#include <StdCtrls.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysUtils.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Dbedit
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TDBEditForm;
class __declspec(pascalimplementation) TDBEditForm : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Stdctrls::TGroupBox* GroupBox1;
Stdctrls::TLabel* Label4;
Stdctrls::TEdit* DatabaseName;
Stdctrls::TLabel* Label1;
Stdctrls::TComboBox* AliasName;
Stdctrls::TLabel* Label2;
Stdctrls::TComboBox* DriverName;
Stdctrls::TLabel* Label3;
Stdctrls::TMemo* DatabaseParams;
Stdctrls::TButton* DefaultsButton;
Stdctrls::TButton* ClearButton;
Stdctrls::TGroupBox* GroupBox3;
Stdctrls::TCheckBox* LoginPrompt;
Stdctrls::TCheckBox* KeepConnection;
Stdctrls::TButton* OkButton;
Stdctrls::TButton* CancelButton;
Stdctrls::TButton* HelpButton;
void __fastcall AliasNameChange(System::TObject* Sender);
void __fastcall AliasNameDropDown(System::TObject* Sender);
void __fastcall DriverNameChange(System::TObject* Sender);
void __fastcall DriverNameDropDown(System::TObject* Sender);
void __fastcall DefaultsButtonClick(System::TObject* Sender);
void __fastcall ClearButtonClick(System::TObject* Sender);
void __fastcall OkButtonClick(System::TObject* Sender);
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall HelpButtonClick(System::TObject* Sender);
private:
Db::TDatabase* Database;
bool __fastcall Edit(void);
public:
/* TForm.Create */ __fastcall virtual TDBEditForm(Classes::TComponent* AOwner) : Forms::TForm(AOwner
) { }
/* TForm.CreateNew */ __fastcall TDBEditForm(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
AOwner, Dummy) { }
/* TForm.Destroy */ __fastcall virtual ~TDBEditForm(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TDBEditForm(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
};
//-- var, const, procedure ---------------------------------------------------
extern bool __fastcall EditDatabase(Db::TDatabase* ADatabase);
} /* namespace Dbedit */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Dbedit;
#endif
//-- end unit ----------------------------------------------------------------
#endif // DBEdit