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

  1. //----------------------------------------------------------------------------
  2. // Dbexcept.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: Dbexcept.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef DbexceptHPP
  6. #define DbexceptHPP
  7. //----------------------------------------------------------------------------
  8. #include <DB.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include <StdCtrls.hpp>
  11. #include <Buttons.hpp>
  12. #include <Controls.hpp>
  13. #include <Forms.hpp>
  14. #include <Graphics.hpp>
  15. #include <Classes.hpp>
  16. #include <SysUtils.hpp>
  17. #include <Windows.hpp>
  18. #include <System.hpp>
  19. #pragma warn -par
  20. #pragma warn -hid 
  21. #pragma warn -inl
  22.  
  23. namespace Dbexcept
  24. {
  25. //-- type declarations -------------------------------------------------------
  26. class __declspec(delphiclass) TDbEngineErrorDlg;
  27. class __declspec(pascalimplementation) TDbEngineErrorDlg : public Forms::TForm
  28. {
  29.     typedef Forms::TForm inherited;
  30.     
  31. __published:
  32.     Extctrls::TPanel* BasicPanel;
  33.     Extctrls::TPanel* DetailsPanel;
  34.     Stdctrls::TLabel* BDELabel;
  35.     Stdctrls::TLabel* NativeLabel;
  36.     Stdctrls::TMemo* DbMessageText;
  37.     Stdctrls::TEdit* DbResult;
  38.     Stdctrls::TEdit* DbCatSub;
  39.     Stdctrls::TEdit* NativeResult;
  40.     Stdctrls::TButton* BackBtn;
  41.     Stdctrls::TButton* NextBtn;
  42.     Extctrls::TPanel* ButtonPanel;
  43.     Stdctrls::TButton* DetailsBtn;
  44.     Stdctrls::TButton* OKBtn;
  45.     Extctrls::TPanel* IconPanel;
  46.     Extctrls::TImage* IconImage;
  47.     Extctrls::TPanel* TopPanel;
  48.     Stdctrls::TLabel* ErrorText;
  49.     Extctrls::TPanel* RightPanel;
  50.     void __fastcall FormShow(System::TObject* Sender);
  51.     void __fastcall BackClick(System::TObject* Sender);
  52.     void __fastcall NextClick(System::TObject* Sender);
  53.     void __fastcall FormCreate(System::TObject* Sender);
  54.     void __fastcall DetailsBtnClick(System::TObject* Sender);
  55.     
  56. private:
  57.     Forms::TExceptionEvent FPrevOnException;
  58.     Db::EDBEngineError* DbException;
  59.     int FDetailsHeight;
  60.     int CurItem;
  61.     System::AnsiString FDetails;
  62.     void __fastcall SwitchDetails(void);
  63.     void __fastcall ShowError(void);
  64.     
  65. public:
  66.     void __fastcall ShowException(System::TObject* Sender, Sysutils::Exception* E);
  67. public:
  68.     /* TForm.Create */ __fastcall virtual TDbEngineErrorDlg(Classes::TComponent* AOwner) : Forms::TForm(
  69.         AOwner) { }
  70.     /* TForm.CreateNew */ __fastcall TDbEngineErrorDlg(Classes::TComponent* AOwner, int Dummy) : Forms::
  71.         TForm(AOwner, Dummy) { }
  72.     /* TForm.Destroy */ __fastcall virtual ~TDbEngineErrorDlg(void) { }
  73.     
  74. public:
  75.     /* TWinControl.CreateParented */ __fastcall TDbEngineErrorDlg(HWND ParentWindow) : Forms::TForm(ParentWindow
  76.         ) { }
  77.     
  78. };
  79.  
  80. //-- var, const, procedure ---------------------------------------------------
  81. extern TDbEngineErrorDlg* DbEngineErrorDlg;
  82.  
  83. }    /* namespace Dbexcept */
  84.  
  85. #pragma warn .par
  86. #pragma warn .hid 
  87. #pragma warn .inl
  88.  
  89. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  90. using namespace Dbexcept;
  91. #endif
  92. //-- end unit ----------------------------------------------------------------
  93. #endif    // Dbexcept
  94.