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

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef mdichildH
  7. #define mdichildH
  8. //---------------------------------------------------------------------------
  9. #include <Classes.hpp>
  10. #include <Controls.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Forms.hpp>
  13. #include <ExtCtrls.hpp>
  14. #include <OleCtnrs.hpp>
  15. #include <Menus.hpp>
  16. //---------------------------------------------------------------------------
  17. class TMDIChildForm : public TForm
  18. {
  19. __published:    // IDE-managed Components
  20.     TPanel *Panel1;
  21.     TOleContainer *OleContainer1;
  22.     TPopupMenu *LocalMenu;
  23.     TMenuItem *InsertObject1;
  24.     TMenuItem *CopyObject1;
  25.     TMenuItem *DeleteObject1;
  26.     TMenuItem *Properties1;
  27.     TMainMenu *MainMenu1;
  28.     TMenuItem *Edit1;
  29.     TMenuItem *Cut1;
  30.     TMenuItem *Copy1;
  31.     TMenuItem *Paste1;
  32.     TMenuItem *PasteSpecial1;
  33.     TMenuItem *CLear1;
  34.     TMenuItem *N3;
  35.     TMenuItem *Object2;
  36.     TMenuItem *Insert1;
  37.     void __fastcall DeleteObject1Click(TObject *Sender);
  38.     void __fastcall Copy1Click(TObject *Sender);
  39.     void __fastcall CopyObject1Click(TObject *Sender);
  40.     void __fastcall Cut1Click(TObject *Sender);
  41.     void __fastcall Edit1Click(TObject *Sender);
  42.     void __fastcall InsertObject1Click(TObject *Sender);
  43.     void __fastcall LocalMenuPopup(TObject *Sender);
  44.     void __fastcall FormActivate(TObject *Sender);
  45.     void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  46.     void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  47.     void __fastcall FormCreate(TObject *Sender);
  48.     void __fastcall Properties1Click(TObject *Sender);
  49.     void __fastcall OleContainer1Activate(TObject *Sender);
  50.     void __fastcall Paste1Click(TObject *Sender);
  51.     void __fastcall PasteSpecial1Click(TObject *Sender);
  52. private:    // User declarations
  53.     TFileName FFileName;
  54.     bool FSaved;
  55.     void __fastcall VerbClick(TObject *Sender);
  56. public:        // User declarations
  57.     void __fastcall CreateFromFile(TFileName FileName, bool Linked);
  58.     void __fastcall SaveFile(TFileName FileName);
  59.     __property TFileName FileName = {read=FFileName};
  60.     virtual __fastcall TMDIChildForm(TComponent* Owner);
  61. };
  62. //---------------------------------------------------------------------------
  63. extern TMDIChildForm *MDIChildForm;
  64. //---------------------------------------------------------------------------
  65. #endif
  66.