home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
PROCDLG.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
3KB
|
100 lines
//----------------------------------------------------------------------------
// ProcDlg.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: ProcDlg.pas
//----------------------------------------------------------------------------
#ifndef ProcDlgHPP
#define ProcDlgHPP
//----------------------------------------------------------------------------
#include <DBTables.hpp>
#include <DB.hpp>
#include <Buttons.hpp>
#include <StdCtrls.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 Procdlg
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TProcParams;
class __declspec(pascalimplementation) TProcParams : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Stdctrls::TGroupBox* GroupBox1;
Stdctrls::TLabel* Label1;
Stdctrls::TEdit* ParamValue;
Stdctrls::TLabel* Label2;
Stdctrls::TCheckBox* NullValue;
Stdctrls::TLabel* Label3;
Stdctrls::TComboBox* TypeList;
Stdctrls::TComboBox* ParamTypeList;
Stdctrls::TLabel* Label4;
Stdctrls::TListBox* ParamList;
Stdctrls::TButton* OkBtn;
Stdctrls::TButton* CancelBtn;
Stdctrls::TButton* HelpBtn;
Stdctrls::TButton* AddButton;
Stdctrls::TButton* DeleteButton;
Stdctrls::TButton* ClearButton;
void __fastcall ParamListChange(System::TObject* Sender);
void __fastcall TypeListChange(System::TObject* Sender);
void __fastcall ParamValueExit(System::TObject* Sender);
void __fastcall NullValueClick(System::TObject* Sender);
void __fastcall ParamTypeListChange(System::TObject* Sender);
void __fastcall DeleteButtonClick(System::TObject* Sender);
void __fastcall ClearButtonClick(System::TObject* Sender);
void __fastcall AddButtonClick(System::TObject* Sender);
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall OkBtnClick(System::TObject* Sender);
void __fastcall HelpBtnClick(System::TObject* Sender);
private:
Dbtables::TParams* InitList;
bool AlterParamList;
bool InValueExit;
bool InParamChange;
bool __fastcall AcceptFieldClass(System::TMetaClass* Value);
void __fastcall CheckValue(void);
bool __fastcall Edit(void);
void __fastcall InitValues(void);
void __fastcall SetControls(bool Value);
void __fastcall Unbind(void);
public:
/* TForm.Create */ __fastcall virtual TProcParams(Classes::TComponent* AOwner) : Forms::TForm(AOwner
) { }
/* TForm.CreateNew */ __fastcall TProcParams(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
AOwner, Dummy) { }
/* TForm.Destroy */ __fastcall virtual ~TProcParams(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TProcParams(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
};
//-- var, const, procedure ---------------------------------------------------
extern bool __fastcall EditProcParams(Dbtables::TStoredProc* DataSet, Dbtables::TParams* List);
} /* namespace Procdlg */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Procdlg;
#endif
//-- end unit ----------------------------------------------------------------
#endif // ProcDlg