⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit1.h

📁 与Action相结合,可以解决中文件显示乱码
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\OleCtnrs.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\ExtCtrls.hpp>
#include "GifImage.hpp"
#include "RichView.hpp"
#include "RVScroll.hpp"
#include "RVStyle.hpp"
#include <vcl\Dialogs.hpp>
#include <vcl\ComCtrls.hpp>
#include <ImgList.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
    TRichView *RichView1;
    TPanel *Panel1;
    TLabel *Label1;
    TLabel *Label2;
    TButton *Button1;
    TButton *Button2;
    TCheckBox *CheckBox1;
    TEdit *Edit1;
    TEdit *Edit2;
    TStatusBar *StatusBar1;
    TOpenDialog *OpenDialog1;
    TSaveDialog *SaveDialog1;
    TImageList *ImageList1;
    TRVStyle *RVStyle1;
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall Button1Click(TObject *Sender);
    void __fastcall RichView1RVFImageListNeeded(TCustomRichView *Sender,
    int ImageListTag, TCustomImageList *&il);
    void __fastcall RichView1RVMouseMove(TObject *Sender, int id);
    void __fastcall RichView1Jump(TObject *Sender, int id);
    void __fastcall Button2Click(TObject *Sender);
    void __fastcall RichView1HTMLSaveImage(TCustomRichView *Sender,
    TCustomRVData *RVData, int ItemNo, const AnsiString Path,
    TColor BackgroundColor, AnsiString &Location, bool &DoDefault);
    void __fastcall RichView1SaveComponentToFile(TCustomRichView *Sender,
          AnsiString Path, TPersistent *SaveMe, TRVSaveFormat SaveFormat,
          AnsiString &OutStr);
    void __fastcall RichView1SaveHTMLExtra(TCustomRichView *Sender,
          TRVHTMLSaveArea Area, bool CSSVersion, AnsiString &HTMLCode);
    void __fastcall RichView1WriteHyperlink(TCustomRichView *Sender,
          int id, TCustomRVData *RVData, int ItemNo,
          TRVSaveFormat SaveFormat, AnsiString &Target,
          AnsiString &Extras);
private:	// User declarations
public:		// User declarations
    __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -