//---------------------------------------------------------------------------
#ifndef Demo4FrmH
#define Demo4FrmH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RichView.hpp"
#include "RVScroll.hpp"
#include "RVStyle.hpp"
#include <Menus.hpp>
#include <Graphics.hpp>
#include <ImgList.hpp>
//---------------------------------------------------------------------------
class TfrmDemo4 : public TForm
{
__published:	// IDE-managed Components
    TRichView *rv;
    TRVStyle *rvs;
    TPopupMenu *pm;
    TMenuItem *Watch1;
    TMenuItem *Phone1;
    TMenuItem *Keyboard1;
    TMenuItem *NoSmokeSign1;
    TMenuItem *Socket1;
    TMenuItem *Pot1;
    TMenuItem *Books1;
    TMenuItem *Bridge1;
    TImageList *ilGoods;
    TImageList *il;
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall rvJump(TObject *Sender, int id);
    void __fastcall pmItemClick(TObject *Sender);
    void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
private:	// User declarations
    int Goods[10];
    int GoodsCount;
    void BuildDoc();
public:		// User declarations
    __fastcall TfrmDemo4(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TfrmDemo4 *frmDemo4;
//---------------------------------------------------------------------------
#endif
