home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / PROCDLG.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  3KB  |  100 lines

  1. //----------------------------------------------------------------------------
  2. // ProcDlg.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: ProcDlg.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef ProcDlgHPP
  6. #define ProcDlgHPP
  7. //----------------------------------------------------------------------------
  8. #include <DBTables.hpp>
  9. #include <DB.hpp>
  10. #include <Buttons.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Dialogs.hpp>
  13. #include <Forms.hpp>
  14. #include <Controls.hpp>
  15. #include <Graphics.hpp>
  16. #include <Classes.hpp>
  17. #include <Messages.hpp>
  18. #include <Windows.hpp>
  19. #include <SysUtils.hpp>
  20. #include <System.hpp>
  21. #pragma warn -par
  22. #pragma warn -hid 
  23. #pragma warn -inl
  24.  
  25. namespace Procdlg
  26. {
  27. //-- type declarations -------------------------------------------------------
  28. class __declspec(delphiclass) TProcParams;
  29. class __declspec(pascalimplementation) TProcParams : public Forms::TForm
  30. {
  31.     typedef Forms::TForm inherited;
  32.     
  33. __published:
  34.     Stdctrls::TGroupBox* GroupBox1;
  35.     Stdctrls::TLabel* Label1;
  36.     Stdctrls::TEdit* ParamValue;
  37.     Stdctrls::TLabel* Label2;
  38.     Stdctrls::TCheckBox* NullValue;
  39.     Stdctrls::TLabel* Label3;
  40.     Stdctrls::TComboBox* TypeList;
  41.     Stdctrls::TComboBox* ParamTypeList;
  42.     Stdctrls::TLabel* Label4;
  43.     Stdctrls::TListBox* ParamList;
  44.     Stdctrls::TButton* OkBtn;
  45.     Stdctrls::TButton* CancelBtn;
  46.     Stdctrls::TButton* HelpBtn;
  47.     Stdctrls::TButton* AddButton;
  48.     Stdctrls::TButton* DeleteButton;
  49.     Stdctrls::TButton* ClearButton;
  50.     void __fastcall ParamListChange(System::TObject* Sender);
  51.     void __fastcall TypeListChange(System::TObject* Sender);
  52.     void __fastcall ParamValueExit(System::TObject* Sender);
  53.     void __fastcall NullValueClick(System::TObject* Sender);
  54.     void __fastcall ParamTypeListChange(System::TObject* Sender);
  55.     void __fastcall DeleteButtonClick(System::TObject* Sender);
  56.     void __fastcall ClearButtonClick(System::TObject* Sender);
  57.     void __fastcall AddButtonClick(System::TObject* Sender);
  58.     void __fastcall FormCreate(System::TObject* Sender);
  59.     void __fastcall OkBtnClick(System::TObject* Sender);
  60.     void __fastcall HelpBtnClick(System::TObject* Sender);
  61.     
  62. private:
  63.     Dbtables::TParams* InitList;
  64.     bool AlterParamList;
  65.     bool InValueExit;
  66.     bool InParamChange;
  67.     bool __fastcall AcceptFieldClass(System::TMetaClass* Value);
  68.     void __fastcall CheckValue(void);
  69.     bool __fastcall Edit(void);
  70.     void __fastcall InitValues(void);
  71.     void __fastcall SetControls(bool Value);
  72.     void __fastcall Unbind(void);
  73. public:
  74.     /* TForm.Create */ __fastcall virtual TProcParams(Classes::TComponent* AOwner) : Forms::TForm(AOwner
  75.         ) { }
  76.     /* TForm.CreateNew */ __fastcall TProcParams(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
  77.         AOwner, Dummy) { }
  78.     /* TForm.Destroy */ __fastcall virtual ~TProcParams(void) { }
  79.     
  80. public:
  81.     /* TWinControl.CreateParented */ __fastcall TProcParams(HWND ParentWindow) : Forms::TForm(ParentWindow
  82.         ) { }
  83.     
  84. };
  85.  
  86. //-- var, const, procedure ---------------------------------------------------
  87. extern bool __fastcall EditProcParams(Dbtables::TStoredProc* DataSet, Dbtables::TParams* List);
  88.  
  89. }    /* namespace Procdlg */
  90.  
  91. #pragma warn .par
  92. #pragma warn .hid 
  93. #pragma warn .inl
  94.  
  95. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  96. using namespace Procdlg;
  97. #endif
  98. //-- end unit ----------------------------------------------------------------
  99. #endif    // ProcDlg
  100.