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

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef PreviewFrmH
  3. #define PreviewFrmH
  4. //---------------------------------------------------------------------------
  5. #include <vclClasses.hpp>
  6. #include <vclControls.hpp>
  7. #include <vclStdCtrls.hpp>
  8. #include <vclForms.hpp>
  9. #include <vclExtCtrls.hpp>
  10. #include "RVPP.hpp"
  11. #include "CRVPP.hpp"
  12. #include "RVScroll.hpp"
  13. //---------------------------------------------------------------------------
  14. class TfrmPreview : public TForm
  15. {
  16. __published: // IDE-managed Components
  17.     TPanel *Panel1;
  18.     TLabel *Label1;
  19.     TComboBox *cmb;
  20.     TButton *Button1;
  21.     TButton *Button2;
  22.     TButton *Button3;
  23.     TButton *Button4;
  24.     TRVPrintPreview *rvpp;
  25.     void __fastcall Button1Click(TObject *Sender);
  26.     void __fastcall Button2Click(TObject *Sender);
  27.     void __fastcall Button3Click(TObject *Sender);
  28.     void __fastcall Button4Click(TObject *Sender);
  29.     void __fastcall cmbExit(TObject *Sender);
  30.     void __fastcall cmbKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
  31.     void __fastcall rvppZoomChanged(TObject *Sender);
  32. private: // User declarations
  33.     void UpdateZoom();
  34. public: // User declarations
  35.     __fastcall TfrmPreview(TComponent* Owner);
  36. };
  37. //---------------------------------------------------------------------------
  38. extern TfrmPreview *frmPreview;
  39. //---------------------------------------------------------------------------
  40. #endif