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

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef Demo7FrmH
  3. #define Demo7FrmH
  4. //---------------------------------------------------------------------------
  5. #include <vclClasses.hpp>
  6. #include <vclControls.hpp>
  7. #include <vclStdCtrls.hpp>
  8. #include <vclForms.hpp>
  9. #include <vclExtCtrls.hpp>
  10. #include "RVEdit.hpp"
  11. #include "RichView.hpp"
  12. #include "RVScroll.hpp"
  13. //---------------------------------------------------------------------------
  14. class TfrmDemo7 : public TForm
  15. {
  16. __published: // IDE-managed Components
  17.     TPanel *Panel1;
  18.     TEdit *txt;
  19.     TButton *btnMark;
  20.     TButton *btnUnmark;
  21.     TRichViewEdit *rve;
  22.     void __fastcall FormCreate(TObject *Sender);
  23.     void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
  24.     void __fastcall btnMarkClick(TObject *Sender);
  25.     void __fastcall btnUnmarkClick(TObject *Sender);
  26. private: // User declarations
  27. public: // User declarations
  28.     __fastcall TfrmDemo7(TComponent* Owner);
  29. };
  30. //---------------------------------------------------------------------------
  31. extern TfrmDemo7 *frmDemo7;
  32. //---------------------------------------------------------------------------
  33. #endif