home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / IXEDIT.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-06  |  3.0 KB  |  113 lines

  1. //----------------------------------------------------------------------------
  2. // IxEdit.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: IxEdit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef IxEditHPP
  6. #define IxEditHPP
  7. //----------------------------------------------------------------------------
  8. #ifndef LibHelpHPP
  9. #include <LibHelp.hpp>
  10. #endif
  11.  
  12. #ifndef DBTablesHPP
  13. #include <DBTables.hpp>
  14. #endif
  15.  
  16. #ifndef StdCtrlsHPP
  17. #include <StdCtrls.hpp>
  18. #endif
  19.  
  20. #ifndef DialogsHPP
  21. #include <Dialogs.hpp>
  22. #endif
  23.  
  24. #ifndef FormsHPP
  25. #include <Forms.hpp>
  26. #endif
  27.  
  28. #ifndef ControlsHPP
  29. #include <Controls.hpp>
  30. #endif
  31.  
  32. #ifndef GraphicsHPP
  33. #include <Graphics.hpp>
  34. #endif
  35.  
  36. #ifndef ClassesHPP
  37. #include <Classes.hpp>
  38. #endif
  39.  
  40. #ifndef MessagesHPP
  41. #include <Messages.hpp>
  42. #endif
  43.  
  44. #ifndef WindowsHPP
  45. #include <Windows.hpp>
  46. #endif
  47.  
  48. #ifndef SysUtilsHPP
  49. #include <SysUtils.hpp>
  50. #endif
  51.  
  52. #ifndef SystemHPP
  53. #include <System.hpp>
  54. #endif
  55.  
  56. namespace Ixedit
  57. {
  58. //-- type declarations -------------------------------------------------------
  59. class __declspec(delphiclass) TIndexFiles;
  60. class __declspec(pascalimplementation) TIndexFiles : public Forms::TForm
  61. {
  62.     typedef TIndexFiles ThisClass;
  63.     typedef Forms::TForm inherited;
  64.     
  65. __published:
  66.     Stdctrls::TGroupBox *GroupBox1;
  67.     Stdctrls::TListBox *ListBox1;
  68.     Stdctrls::TButton *Add;
  69.     Stdctrls::TButton *Delete;
  70.     Stdctrls::TButton *Ok;
  71.     Stdctrls::TButton *Cancel;
  72.     Stdctrls::TButton *Help;
  73.     Stdctrls::TButton *Clear;
  74.     Dialogs::TOpenDialog *OpenDialog;
  75.     void __fastcall ListBox1Click(System::TObject *Sender);
  76.     void __fastcall AddClick(System::TObject *Sender);
  77.     void __fastcall DeleteClick(System::TObject *Sender);
  78.     void __fastcall ClearClick(System::TObject *Sender);
  79.     void __fastcall FormCreate(System::TObject *Sender);
  80.     void __fastcall HelpClick(System::TObject *Sender);
  81.     
  82. private:
  83.     Dbtables::TTable *FTable;
  84.     System::Boolean FNoItems;
  85.     System::AnsiString FEmpty;
  86.     void __fastcall AddEmpty(void);
  87.     System::Boolean __fastcall IsDBaseTable(void);
  88.     void __fastcall RemoveEmpty(void);
  89.     void __fastcall SetButtons(void);
  90.     
  91. public:
  92.     __property Dbtables::TTable * Table = {read=FTable, nodefault};
  93.     __property System::Boolean NoItems = {read=FNoItems, nodefault};
  94. public:
  95.     /* !! TForm.Create */ __fastcall virtual TIndexFiles(Classes::TComponent *AOwner) : Forms::TForm(AOwner
  96.         ) { }
  97.     /* !! TForm.CreateNew */ __fastcall TIndexFiles(Classes::TComponent *AOwner, System::Integer Dummy)
  98.          : Forms::TForm(AOwner, Dummy) { }
  99.     /* !! TForm.Destroy */ __fastcall virtual ~TIndexFiles(void) { }
  100.     
  101. };
  102.  
  103. //-- var, const, procedure ---------------------------------------------------
  104. extern System::Boolean __fastcall EditIndexFiles(Dbtables::TTable *ATable, Classes::TStrings *List);
  105.     
  106.  
  107. }    /* namespace Ixedit */
  108. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  109. using namespace Ixedit;
  110. #endif
  111. //-- end unit ----------------------------------------------------------------
  112. #endif    // IxEdit
  113.