//---------------------------------------------------------------------------
#ifndef Demo5FrmH
#define Demo5FrmH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "RichView.hpp"
#include "RVScroll.hpp"
#include "RVStyle.hpp"
#include <Menus.hpp>
#include <Graphics.hpp>
//---------------------------------------------------------------------------
class TfrmDemo5 : public TForm
{
__published:	// IDE-managed Components
    TPanel *pan;
    TEdit *edit;
    TRichView *rv;
    TRVStyle *rvs;
    TPopupMenu *pm;
    TMenuItem *mitFreezescrolling;
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall FormResize(TObject *Sender);
    void __fastcall editKeyPress(TObject *Sender, wchar_t &Key);
    void __fastcall rvSelect(TObject *Sender);
    void __fastcall pmPopup(TObject *Sender);
    void __fastcall mitFreezescrollingClick(TObject *Sender);
    void __fastcall rvJump(TObject *Sender, int id);
    
    void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
private:	// User declarations
public:		// User declarations
    __fastcall TfrmDemo5(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TfrmDemo5 *frmDemo5;
//---------------------------------------------------------------------------
#endif
