home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / Vcl / dbedit.hpp < prev    next >
C/C++ Source or Header  |  2000-02-01  |  3KB  |  104 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1999 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'DBEdit.pas' rev: 5.00
  6.  
  7. #ifndef DBEditHPP
  8. #define DBEditHPP
  9.  
  10. #pragma delphiheader begin
  11. #pragma option push -w-
  12. #pragma option push -Vx
  13. #include <DBTables.hpp>    // Pascal unit
  14. #include <Db.hpp>    // Pascal unit
  15. #include <StdCtrls.hpp>    // Pascal unit
  16. #include <Buttons.hpp>    // Pascal unit
  17. #include <Dialogs.hpp>    // Pascal unit
  18. #include <Forms.hpp>    // Pascal unit
  19. #include <Controls.hpp>    // Pascal unit
  20. #include <Graphics.hpp>    // Pascal unit
  21. #include <Classes.hpp>    // Pascal unit
  22. #include <Messages.hpp>    // Pascal unit
  23. #include <Windows.hpp>    // Pascal unit
  24. #include <SysUtils.hpp>    // Pascal unit
  25. #include <SysInit.hpp>    // Pascal unit
  26. #include <System.hpp>    // Pascal unit
  27.  
  28. //-- user supplied -----------------------------------------------------------
  29.  
  30. namespace Dbedit
  31. {
  32. //-- type declarations -------------------------------------------------------
  33. class DELPHICLASS TDBEditForm;
  34. class PASCALIMPLEMENTATION TDBEditForm : public Forms::TForm 
  35. {
  36.     typedef Forms::TForm inherited;
  37.     
  38. __published:
  39.     Stdctrls::TGroupBox* GroupBox1;
  40.     Stdctrls::TLabel* Label4;
  41.     Stdctrls::TEdit* DatabaseName;
  42.     Stdctrls::TLabel* Label1;
  43.     Stdctrls::TComboBox* AliasName;
  44.     Stdctrls::TLabel* Label2;
  45.     Stdctrls::TComboBox* DriverName;
  46.     Stdctrls::TLabel* Label3;
  47.     Stdctrls::TMemo* DatabaseParams;
  48.     Stdctrls::TButton* DefaultsButton;
  49.     Stdctrls::TButton* ClearButton;
  50.     Stdctrls::TGroupBox* GroupBox3;
  51.     Stdctrls::TCheckBox* LoginPrompt;
  52.     Stdctrls::TCheckBox* KeepConnection;
  53.     Stdctrls::TButton* OkButton;
  54.     Stdctrls::TButton* CancelButton;
  55.     Stdctrls::TButton* HelpButton;
  56.     void __fastcall AliasNameChange(System::TObject* Sender);
  57.     void __fastcall AliasNameDropDown(System::TObject* Sender);
  58.     void __fastcall DriverNameChange(System::TObject* Sender);
  59.     void __fastcall DriverNameDropDown(System::TObject* Sender);
  60.     void __fastcall DefaultsButtonClick(System::TObject* Sender);
  61.     void __fastcall ClearButtonClick(System::TObject* Sender);
  62.     void __fastcall OkButtonClick(System::TObject* Sender);
  63.     void __fastcall FormCreate(System::TObject* Sender);
  64.     void __fastcall HelpButtonClick(System::TObject* Sender);
  65.     
  66. private:
  67.     Dbtables::TDatabase* Database;
  68.     bool __fastcall Edit(void);
  69. public:
  70.     #pragma option push -w-inl
  71.     /* TCustomForm.Create */ inline __fastcall virtual TDBEditForm(Classes::TComponent* AOwner) : Forms::TForm(
  72.         AOwner) { }
  73.     #pragma option pop
  74.     #pragma option push -w-inl
  75.     /* TCustomForm.CreateNew */ inline __fastcall virtual TDBEditForm(Classes::TComponent* AOwner, int 
  76.         Dummy) : Forms::TForm(AOwner, Dummy) { }
  77.     #pragma option pop
  78.     #pragma option push -w-inl
  79.     /* TCustomForm.Destroy */ inline __fastcall virtual ~TDBEditForm(void) { }
  80.     #pragma option pop
  81.     
  82. public:
  83.     #pragma option push -w-inl
  84.     /* TWinControl.CreateParented */ inline __fastcall TDBEditForm(HWND ParentWindow) : Forms::TForm(ParentWindow
  85.         ) { }
  86.     #pragma option pop
  87.     
  88. };
  89.  
  90.  
  91. //-- var, const, procedure ---------------------------------------------------
  92. extern PACKAGE bool __fastcall EditDatabase(Dbtables::TDatabase* ADatabase);
  93.  
  94. }    /* namespace Dbedit */
  95. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  96. using namespace Dbedit;
  97. #endif
  98. #pragma option pop    // -w-
  99. #pragma option pop    // -Vx
  100.  
  101. #pragma delphiheader end.
  102. //-- end unit ----------------------------------------------------------------
  103. #endif    // DBEdit
  104.