Demo4Frm.h
上传用户:daoqigc
上传日期:2021-04-20
资源大小:2795k
文件大小:1k
源码类别:

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef Demo4FrmH
  3. #define Demo4FrmH
  4. //---------------------------------------------------------------------------
  5. #include <vclClasses.hpp>
  6. #include <vclControls.hpp>
  7. #include <vclStdCtrls.hpp>
  8. #include <vclForms.hpp>
  9. #include "RichView.hpp"
  10. #include "RVScroll.hpp"
  11. #include "RVStyle.hpp"
  12. #include <vclMenus.hpp>
  13. //---------------------------------------------------------------------------
  14. class TfrmDemo4 : public TForm
  15. {
  16. __published: // IDE-managed Components
  17.     TRichView *rv;
  18.     TRVStyle *rvs;
  19.     TPopupMenu *pm;
  20.     TMenuItem *Watch1;
  21.     TMenuItem *Phone1;
  22.     TMenuItem *Keyboard1;
  23.     TMenuItem *NoSmokeSign1;
  24.     TMenuItem *Socket1;
  25.     TMenuItem *Pot1;
  26.     TMenuItem *Books1;
  27.     TMenuItem *Bridge1;
  28.     TImageList *ilGoods;
  29.     TImageList *il;
  30.     void __fastcall FormCreate(TObject *Sender);
  31.     void __fastcall rvJump(TObject *Sender, int id);
  32.     void __fastcall pmItemClick(TObject *Sender);
  33.     void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
  34. private: // User declarations
  35.     int Goods[10];
  36.     int GoodsCount;
  37.     void BuildDoc();
  38. public: // User declarations
  39.     __fastcall TfrmDemo4(TComponent* Owner);
  40. };
  41. //---------------------------------------------------------------------------
  42. extern TfrmDemo4 *frmDemo4;
  43. //---------------------------------------------------------------------------
  44. #endif