Unit1.h
上传用户:daoqigc
上传日期:2021-04-20
资源大小:2795k
文件大小:1k
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <vclClasses.hpp>
- #include <vclControls.hpp>
- #include <vclStdCtrls.hpp>
- #include <vclForms.hpp>
- #include "RVEdit.hpp"
- #include "RichView.hpp"
- #include "RVScroll.hpp"
- #include <vclExtCtrls.hpp>
- #include <vclButtons.hpp>
- #include "RVStyle.hpp"
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TRichViewEdit *RichViewEdit1;
- TPanel *Panel1;
- TSpeedButton *btnBullets;
- TSpeedButton *btnNumbering;
- TRVStyle *RVStyle1;
- void __fastcall RichViewEdit1CaretMove(TObject *Sender);
- void __fastcall btnBulletsClick(TObject *Sender);
- void __fastcall btnNumberingClick(TObject *Sender);
- private: // User declarations
- int GetListNo(TCustomRichViewEdit* rve, int ItemNo);
- int CreateBullets();
- int CreateNumbering();
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif
-