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

  1. //----------------------------------------------------------------------------
  2. // IxEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: IxEdit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef IxEditHPP
  6. #define IxEditHPP
  7. //----------------------------------------------------------------------------
  8. #include <LibHelp.hpp>
  9. #include <DBTables.hpp>
  10. #include <StdCtrls.hpp>
  11. #include <Dialogs.hpp>
  12. #include <Forms.hpp>
  13. #include <Controls.hpp>
  14. #include <Graphics.hpp>
  15. #include <Classes.hpp>
  16. #include <Messages.hpp>
  17. #include <Windows.hpp>
  18. #include <SysUtils.hpp>
  19. #include <System.hpp>
  20. #pragma warn -par
  21. #pragma warn -hid 
  22. #pragma warn -inl
  23.  
  24. namespace Ixedit
  25. {
  26. //-- type declarations -------------------------------------------------------
  27. class __declspec(delphiclass) TIndexFiles;
  28. class __declspec(pascalimplementation) TIndexFiles : public Forms::TForm
  29. {
  30.     typedef Forms::TForm inherited;
  31.     
  32. __published:
  33.     Stdctrls::TGroupBox* GroupBox1;
  34.     Stdctrls::TListBox* ListBox1;
  35.     Stdctrls::TButton* Add;
  36.     Stdctrls::TButton* Delete;
  37.     Stdctrls::TButton* Ok;
  38.     Stdctrls::TButton* Cancel;
  39.     Stdctrls::TButton* Help;
  40.     Stdctrls::TButton* Clear;
  41.     Dialogs::TOpenDialog* OpenDialog;
  42.     void __fastcall ListBox1Click(System::TObject* Sender);
  43.     void __fastcall AddClick(System::TObject* Sender);
  44.     void __fastcall DeleteClick(System::TObject* Sender);
  45.     void __fastcall ClearClick(System::TObject* Sender);
  46.     void __fastcall FormCreate(System::TObject* Sender);
  47.     void __fastcall HelpClick(System::TObject* Sender);
  48.     
  49. private:
  50.     Dbtables::TTable* FTable;
  51.     bool FNoItems;
  52.     System::AnsiString FEmpty;
  53.     void __fastcall AddEmpty(void);
  54.     bool __fastcall IsDBaseTable(void);
  55.     void __fastcall RemoveEmpty(void);
  56.     void __fastcall SetButtons(void);
  57.     
  58. public:
  59.     __property Dbtables::TTable* Table = {read=FTable, nodefault};
  60.     __property bool NoItems = {read=FNoItems, nodefault};
  61. public:
  62.     /* TForm.Create */ __fastcall virtual TIndexFiles(Classes::TComponent* AOwner) : Forms::TForm(AOwner
  63.         ) { }
  64.     /* TForm.CreateNew */ __fastcall TIndexFiles(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
  65.         AOwner, Dummy) { }
  66.     /* TForm.Destroy */ __fastcall virtual ~TIndexFiles(void) { }
  67.     
  68. public:
  69.     /* TWinControl.CreateParented */ __fastcall TIndexFiles(HWND ParentWindow) : Forms::TForm(ParentWindow
  70.         ) { }
  71.     
  72. };
  73.  
  74. //-- var, const, procedure ---------------------------------------------------
  75. extern bool __fastcall EditIndexFiles(Dbtables::TTable* ATable, Classes::TStrings* List);
  76.  
  77. }    /* namespace Ixedit */
  78.  
  79. #pragma warn .par
  80. #pragma warn .hid 
  81. #pragma warn .inl
  82.  
  83. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  84. using namespace Ixedit;
  85. #endif
  86. //-- end unit ----------------------------------------------------------------
  87. #endif    // IxEdit
  88.