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

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <vclClasses.hpp>
  6. #include <vclControls.hpp>
  7. #include <vclStdCtrls.hpp>
  8. #include <vclForms.hpp>
  9. #include "RVEdit.hpp"
  10. #include "RichView.hpp"
  11. #include "RVScroll.hpp"
  12. #include "RVStyle.hpp"
  13. #include <vclMenus.hpp>
  14. //---------------------------------------------------------------------------
  15. class TForm1 : public TForm
  16. {
  17. __published: // IDE-managed Components
  18. TRichViewEdit *RichViewEdit1;
  19. TRVStyle *RVStyle1;
  20. TPopupMenu *PopupMenu1;
  21. void __fastcall RichViewEdit1KeyDown(TObject *Sender, WORD &Key,
  22. TShiftState Shift);
  23. private: // User declarations
  24.     void AddPopupMenuItem(AnsiString s);
  25.     void __fastcall AutoCompletePopupMenuClick(TObject* Sender);    
  26. public: // User declarations
  27. __fastcall TForm1(TComponent* Owner);
  28. };
  29. //---------------------------------------------------------------------------
  30. extern TForm1 *Form1;
  31. //---------------------------------------------------------------------------
  32. #endif
  33.