// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Iwcompmemo.pas' rev: 10.00

#ifndef IwcompmemoHPP
#define IwcompmemoHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Iwvclcomponent.hpp>	// Pascal unit
#include <Iwvclclasses.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Iwhtmltag.hpp>	// Pascal unit
#include <Iwcontrol.hpp>	// Pascal unit
#include <Iwcolor.hpp>	// Pascal unit
#include <Iwrendercontext.hpp>	// Pascal unit
#include <Iwbaseinterfaces.hpp>	// Pascal unit
#include <Iwbasehtmlcontrol.hpp>	// Pascal unit
#include <Iwvclbasecontrol.hpp>	// Pascal unit
#include <Iwbasecontrol.hpp>	// Pascal unit
#include <Iwfont.hpp>	// Pascal unit
#include <Iwscriptevents.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Iwcompmemo
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TIWCustomMemo;
class PASCALIMPLEMENTATION TIWCustomMemo : public Iwcontrol::TIWCustomControl 
{
	typedef Iwcontrol::TIWCustomControl inherited;
	
private:
	bool FHorizScrollBar;
	bool FVertScrollBar;
	
protected:
	Iwcolor::TIWColor FBGColor;
	Classes::TStringList* FLines;
	bool FRequired;
	bool FEndsWithCRLF;
	bool FInvisibleBorder;
	void __fastcall OnItemsChange(System::TObject* ASender);
	void __fastcall SetLines(const Classes::TStringList* AValue);
	virtual void __fastcall SetValue(const AnsiString AValue);
	void __fastcall SetBGColor(Iwcolor::TIWColor AValue);
	void __fastcall SetVertScrollBar(bool AValue);
	virtual void __fastcall InitControl(void);
	virtual AnsiString __fastcall getText();
	virtual void __fastcall TextChangedNotification(void);
	virtual void __fastcall Dispose(bool ADispose);
	
public:
	virtual void __fastcall Clear(void);
	virtual void __fastcall SetText(const AnsiString AValue);
	virtual Iwhtmltag::TIWHTMLTag* __fastcall RenderHTML(Iwrendercontext::TIWBaseHTMLComponentContext* AContext);
	virtual AnsiString __fastcall RenderStyle(Iwrendercontext::TIWBaseHTMLComponentContext* AComponentContext);
	__property AnsiString Text = {read=getText, write=SetText};
	__property Classes::TStringList* Lines = {read=FLines, write=SetLines};
	
__published:
	__property Iwcolor::TIWColor BGColor = {read=FBGColor, write=SetBGColor, nodefault};
	__property Editable ;
	__property ExtraTagParams ;
	__property Font ;
	__property ScriptEvents ;
	__property bool InvisibleBorder = {read=FInvisibleBorder, write=FInvisibleBorder, nodefault};
	__property bool HorizScrollBar = {read=FHorizScrollBar, write=FHorizScrollBar, nodefault};
	__property bool VertScrollBar = {read=FVertScrollBar, write=SetVertScrollBar, nodefault};
	__property bool Required = {read=FRequired, write=FRequired, nodefault};
	__property TabOrder ;
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWCustomMemo(Classes::TComponent* AOwner) : Iwcontrol::TIWCustomControl(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWCustomMemo(void) { }
	#pragma option pop
	
private:
	void *__IIWInputControl;	/* Iwbaseinterfaces::IIWInputControl */
	
public:
	operator IIWInputControl*(void) { return (IIWInputControl*)&__IIWInputControl; }
	
};


class DELPHICLASS TIWMemo;
class PASCALIMPLEMENTATION TIWMemo : public TIWCustomMemo 
{
	typedef TIWCustomMemo inherited;
	
__published:
	__property Enabled  = {default=1};
	__property FriendlyName ;
	__property Lines ;
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWMemo(Classes::TComponent* AOwner) : TIWCustomMemo(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWMemo(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Iwcompmemo */
using namespace Iwcompmemo;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Iwcompmemo
