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

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef Demo5FrmH
  3. #define Demo5FrmH
  4. //---------------------------------------------------------------------------
  5. #include <vclClasses.hpp>
  6. #include <vclControls.hpp>
  7. #include <vclStdCtrls.hpp>
  8. #include <vclForms.hpp>
  9. #include <vclExtCtrls.hpp>
  10. #include "RichView.hpp"
  11. #include "RVScroll.hpp"
  12. #include "RVStyle.hpp"
  13. #include <vclMenus.hpp>
  14. //---------------------------------------------------------------------------
  15. class TfrmDemo5 : public TForm
  16. {
  17. __published: // IDE-managed Components
  18.     TPanel *pan;
  19.     TEdit *edit;
  20.     TRichView *rv;
  21.     TRVStyle *rvs;
  22.     TPopupMenu *pm;
  23.     TMenuItem *mitFreezescrolling;
  24.     void __fastcall FormCreate(TObject *Sender);
  25.     void __fastcall FormResize(TObject *Sender);
  26.     void __fastcall editKeyPress(TObject *Sender, char &Key);
  27.     void __fastcall rvSelect(TObject *Sender);
  28.     void __fastcall pmPopup(TObject *Sender);
  29.     void __fastcall mitFreezescrollingClick(TObject *Sender);
  30.     void __fastcall rvJump(TObject *Sender, int id);
  31.     
  32.     void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
  33. private: // User declarations
  34. public: // User declarations
  35.     __fastcall TfrmDemo5(TComponent* Owner);
  36. };
  37. //---------------------------------------------------------------------------
  38. extern TfrmDemo5 *frmDemo5;
  39. //---------------------------------------------------------------------------
  40. #endif