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 "RVStyle.hpp"
  13. #include "RVTable.hpp"
  14. #include "CRVData.hpp"
  15. //---------------------------------------------------------------------------
  16. class TForm1 : public TForm
  17. {
  18. __published: // IDE-managed Components
  19. TLabel *Label1;
  20. TLabel *Label2;
  21. TLabel *Label3;
  22. TRichViewEdit *RichViewEdit1;
  23. TButton *Button1;
  24. TButton *Button2;
  25. TEdit *Edit1;
  26. TEdit *Edit2;
  27. TButton *Button3;
  28. TRVStyle *RVStyle1;
  29. void __fastcall FormCreate(TObject *Sender);
  30. void __fastcall Button1Click(TObject *Sender);
  31. void __fastcall Button2Click(TObject *Sender);
  32. void __fastcall Button3Click(TObject *Sender);
  33. void __fastcall Edit1Change(TObject *Sender);
  34. void __fastcall Edit2Change(TObject *Sender);
  35. void __fastcall RichViewEdit1Change(TObject *Sender);
  36. private: // User declarations
  37.     bool Freeze;
  38.     void InsertField(const AnsiString field, const AnsiString value);
  39. public: // User declarations
  40. __fastcall TForm1(TComponent* Owner);
  41. };
  42. //---------------------------------------------------------------------------
  43. extern TForm1 *Form1;
  44. //---------------------------------------------------------------------------
  45. #endif
  46.