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

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef Demo1FrmH
  3. #define Demo1FrmH
  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 <vclMenus.hpp>
  12. //---------------------------------------------------------------------------
  13. class TfrmDemo1 : public TForm
  14. {
  15. __published: // IDE-managed Components
  16.     TListBox *lst;
  17.     TRichView *rv;
  18.     TPopupMenu *pm;
  19.     TMenuItem *mitShowCP;
  20.     void __fastcall FormCreate(TObject *Sender);
  21.     void __fastcall rvCheckpointVisible(TCustomRichView *Sender,
  22.     TCheckpointData CheckpointData);
  23.     void __fastcall lstDblClick(TObject *Sender);
  24.     void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
  25.     void __fastcall pmPopup(TObject *Sender);
  26.     void __fastcall mitShowCPClick(TObject *Sender);
  27. private: // User declarations
  28. public: // User declarations
  29.     __fastcall TfrmDemo1(TComponent* Owner);
  30. };
  31. //---------------------------------------------------------------------------
  32. extern TfrmDemo1 *frmDemo1;
  33. //---------------------------------------------------------------------------
  34. #endif