home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April / Chip_1997-04_cd.bin / prezent / cb / data.z / CACHEDUP.H < prev    next >
C/C++ Source or Header  |  1997-01-16  |  2KB  |  58 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++ Builder
  3. //Copyright (c) 1987 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef cachedupH
  7. #define cachedupH
  8. //---------------------------------------------------------------------------
  9. #include <vcl\Classes.hpp>
  10. #include <vcl\Controls.hpp>
  11. #include <vcl\StdCtrls.hpp>
  12. #include <vcl\Forms.hpp>
  13. #include <vcl\DBGrids.hpp>
  14. #include <vcl\Grids.hpp>
  15. #include <vcl\DBCtrls.hpp>
  16. #include <vcl\ExtCtrls.hpp>
  17. #include <vcl\Menus.hpp>
  18. //---------------------------------------------------------------------------
  19. class TCacheDemoForm : public TForm
  20. {
  21. __published:    // IDE-managed Components 
  22.     TDBGrid *DBGrid1;
  23.     TDBNavigator *DBNavigator1;
  24.     TGroupBox *GroupBox1;
  25.     TCheckBox *UnModifiedCB;
  26.     TCheckBox *ModifiedCB;
  27.     TCheckBox *InsertedCB;
  28.     TCheckBox *DeletedCB;
  29.     TPanel *Panel1;
  30.     TCheckBox *CachedUpdates;
  31.     TCheckBox *UseUpdateSQL;
  32.     TPanel *Panel2;
  33.     TButton *ApplyUpdatesBtn;
  34.     TButton *CancelUpdatesBtn;
  35.     TButton *RevertRecordBtn;
  36.     TButton *ReExecuteButton;
  37.     TMainMenu *MainMenu1;
  38.     TMenuItem *miAbout;
  39.     void __fastcall FormCreate(TObject *Sender);
  40.     void __fastcall ReExecuteButtonClick(TObject *Sender);
  41.     void __fastcall ToggleUpdateMode(TObject *Sender);
  42.     void __fastcall UseUpdateSQLClick(TObject *Sender);
  43.     void __fastcall ApplyUpdatesBtnClick(TObject *Sender);
  44.     void __fastcall CancelUpdatesBtnClick(TObject *Sender);
  45.     void __fastcall RevertRecordBtnClick(TObject *Sender);
  46.     void __fastcall UpdateRecordsToShow(TObject *Sender);
  47.     void __fastcall miAboutClick(TObject *Sender);
  48. private:        // User declarations
  49.     TDBDataSet *FDataSet;
  50.     void __fastcall SetControlStates(BOOL Enabled);
  51. public:         // User declarations
  52.     virtual __fastcall TCacheDemoForm(TComponent* Owner);
  53. };
  54. //---------------------------------------------------------------------------
  55. extern TCacheDemoForm *CacheDemoForm;
  56. //---------------------------------------------------------------------------
  57. #endif
  58.