home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / NDXREBU.H < prev    next >
C/C++ Source or Header  |  1997-02-28  |  2KB  |  46 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef ndxrebuH
  7. #define ndxrebuH
  8. //---------------------------------------------------------------------------
  9. #include <vcl\Classes.hpp>
  10. #include <vcl\Controls.hpp>
  11. #include <vcl\StdCtrls.hpp>
  12. #include <vcl\Forms.hpp>
  13. #include <vcl\Buttons.hpp>
  14. #include <vcl\ComCtrls.hpp>
  15. #include <vcl\DBTables.hpp>
  16. #include <vcl\DB.hpp>
  17. //---------------------------------------------------------------------------
  18. class TForm1 : public TForm
  19. {
  20. __published:    // IDE-managed Components 
  21.     TLabel *Label1;
  22.     TLabel *Label2;
  23.     TComboBox *cbAlias;
  24.     TComboBox *cbTable;
  25.     TBitBtn *BitBtn1;
  26.     TBitBtn *BitBtn2;
  27.     TStatusBar *StatusBar1;
  28.     TTable *tblIndex;
  29.     void __fastcall FormCreate(TObject *Sender);
  30.     void __fastcall cbAliasChange(TObject *Sender);
  31.     void __fastcall BitBtn1Click(TObject *Sender);
  32.     
  33.     
  34. private:        // User declarations
  35. public:         // User declarations
  36.     virtual __fastcall TForm1(TComponent* Owner);
  37.     void __fastcall HandleExceptions(TObject *Sender, Exception *E);
  38.     bool __fastcall RebuildIndexes(AnsiString strAlias, AnsiString strTable,
  39.     AnsiString& strError);
  40.     void __fastcall WriteMsg(AnsiString strWrite);
  41. };
  42. //---------------------------------------------------------------------------
  43. extern TForm1 *Form1;
  44. //---------------------------------------------------------------------------
  45. #endif
  46.