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 <vclExtCtrls.hpp>
  13. #include <vclButtons.hpp>
  14. #include "RVStyle.hpp"
  15. //---------------------------------------------------------------------------
  16. class TForm1 : public TForm
  17. {
  18. __published: // IDE-managed Components
  19. TRichViewEdit *RichViewEdit1;
  20. TPanel *Panel1;
  21. TSpeedButton *btnBullets;
  22. TSpeedButton *btnNumbering;
  23. TRVStyle *RVStyle1;
  24. void __fastcall RichViewEdit1CaretMove(TObject *Sender);
  25. void __fastcall btnBulletsClick(TObject *Sender);
  26. void __fastcall btnNumberingClick(TObject *Sender);
  27. private: // User declarations
  28. int GetListNo(TCustomRichViewEdit* rve, int ItemNo);
  29.     int CreateBullets();
  30.     int CreateNumbering();    
  31. public: // User declarations
  32. __fastcall TForm1(TComponent* Owner);
  33. };
  34. //---------------------------------------------------------------------------
  35. extern TForm1 *Form1;
  36. //---------------------------------------------------------------------------
  37. #endif
  38.