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

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef ToolbarH
  7. #define ToolbarH
  8. //---------------------------------------------------------------------------
  9. #include <Classes.hpp>
  10. #include <Controls.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Forms.hpp>
  13. #include <ExtCtrls.hpp>
  14. #include <Menus.hpp>
  15. #include <DBCtrls.hpp>
  16. //---------------------------------------------------------------------------
  17. class TfmToolbar : public TForm
  18. {
  19. __published:    // IDE-managed Components 
  20.     TPanel *Panel1;
  21.     TMainMenu *MainMenu1;
  22.     TDBNavigator *DBNavigator1;
  23.     TMenuItem *File1;
  24.     TMenuItem *Close1;
  25.     TMenuItem *Record1;
  26.     TMenuItem *First1;
  27.     TMenuItem *Next1;
  28.     TMenuItem *Prior1;
  29.     TMenuItem *Last1;
  30.     TMenuItem *N1;
  31.     TMenuItem *Delete1;
  32.     TMenuItem *Insert1;
  33.     TMenuItem *Cancel1;
  34.     TMenuItem *Window1;
  35.     TMenuItem *Tile1;
  36.     TMenuItem *Cascade1;
  37.     TMenuItem *Help1;
  38.     TMenuItem *about1;
  39.     TMenuItem *Messages1;
  40.     void __fastcall Close1Click(TObject *Sender);
  41.     void __fastcall about1Click(TObject *Sender);
  42.     void __fastcall Messages1Click(TObject *Sender);
  43.     void __fastcall Tile1Click(TObject *Sender);
  44.     void __fastcall Cascade1Click(TObject *Sender);
  45.     void __fastcall First1Click(TObject *Sender);
  46.     void __fastcall Next1Click(TObject *Sender);
  47.     void __fastcall Prior1Click(TObject *Sender);
  48.     void __fastcall Last1Click(TObject *Sender);
  49.     void __fastcall Delete1Click(TObject *Sender);
  50.     void __fastcall Insert1Click(TObject *Sender);
  51.     void __fastcall Cancel1Click(TObject *Sender);
  52.     void __fastcall FormShow(TObject *Sender);
  53. private:        // User declarations
  54.     void __fastcall UpdateMenu();
  55. public:         // User declarations
  56.     virtual __fastcall TfmToolbar(TComponent* Owner);
  57.     void __fastcall SetNavigator(const TDataSource* ds);
  58. };
  59. //---------------------------------------------------------------------------
  60. extern TfmToolbar *fmToolbar;
  61. //---------------------------------------------------------------------------
  62. #endif
  63.