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

// (DO NOT EDIT: machine generated header) 'ahmttextfileview.pas' rev: 6.00

#ifndef ahmttextfileviewHPP
#define ahmttextfileviewHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmdialogclass.hpp>	// Pascal unit
#include <Printers.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmttextfileview
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMTextFileView;
class PASCALIMPLEMENTATION TAHMTextFileView : public Ahmdialogclass::TAHMDialogComponent 
{
	typedef Ahmdialogclass::TAHMDialogComponent inherited;
	
private:
	AnsiString fedcap;
	AnsiString ffil;
	Graphics::TColor FEditColor;
	Classes::TNotifyEvent fonopen;
	Classes::TNotifyEvent fonsave;
	Classes::TNotifyEvent fonexit;
	Classes::TNotifyEvent fonexec;
	Graphics::TFont* ffon;
	bool N1;
	bool N2;
	bool N3;
	bool N4;
	bool N5;
	bool N6;
	bool N7;
	bool N8;
	bool N9;
	bool N10;
	bool N11;
	bool FOpenFileOnExecute;
	Forms::TPosition FWindowPosition;
	int FWindowHeight;
	int FWindowWidth;
	Forms::TBorderIcons FBorderIcons;
	Menus::TMainMenu* fmi;
	Forms::TWindowState FWindowState;
	Graphics::TIcon* fico;
	bool FReadOnly;
	void __fastcall SetMenu(Menus::TMainMenu* value);
	void __fastcall Setfont(Graphics::TFont* value);
	void __fastcall SetMenuFile(bool value);
	void __fastcall SetMenuNew(bool value);
	void __fastcall SetMenuSave(bool value);
	void __fastcall SetMenuPrint(bool value);
	void __fastcall SetMenuExit(bool value);
	void __fastcall SetMenuOptions(bool value);
	void __fastcall SetMenuWordwrap(bool value);
	void __fastcall SetMenuFont(bool value);
	void __fastcall SetMenuOpen(bool value);
	void __fastcall SetMenuDividers(bool value);
	void __fastcall SetMenuBackground(bool value);
	void __fastcall SetBordericons(Forms::TBorderIcons value);
	void __fastcall SetIcon(Graphics::TIcon* value);
	
public:
	__fastcall virtual TAHMTextFileView(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMTextFileView(void);
	virtual bool __fastcall execute(void);
	
__published:
	__property AnsiString EditorCaption = {read=fedcap, write=fedcap};
	__property Graphics::TColor EditColor = {read=FEditColor, write=FEditColor, default=16777215};
	__property Graphics::TFont* EditFonts = {read=ffon, write=Setfont};
	__property bool MenuFile = {read=N1, write=SetMenuFile, default=1};
	__property bool MenuOptions = {read=N2, write=SetMenuOptions, default=1};
	__property bool MenuNew = {read=N3, write=SetMenuNew, default=1};
	__property bool MenuOpen = {read=N4, write=SetMenuOpen, default=1};
	__property bool MenuSave = {read=N5, write=SetMenuSave, default=1};
	__property bool MenuPrint = {read=N6, write=SetMenuPrint, default=1};
	__property bool MenuExit = {read=N7, write=SetMenuExit, default=1};
	__property bool MenuWordWrap = {read=N8, write=SetMenuWordwrap, default=1};
	__property bool MenuFont = {read=N9, write=SetMenuFont, default=1};
	__property bool MenuBackground = {read=N10, write=SetMenuBackground, default=1};
	__property bool MenuDividers = {read=N11, write=SetMenuDividers, default=1};
	__property Menus::TMainMenu* Menus = {read=fmi, write=SetMenu};
	__property AnsiString OpenFilename = {read=ffil, write=ffil};
	__property bool OpenFileOnExecute = {read=FOpenFileOnExecute, write=FOpenFileOnExecute, default=0};
	__property Classes::TNotifyEvent OnExecute = {read=fonexec, write=fonexec};
	__property Classes::TNotifyEvent OnExit = {read=fonexit, write=fonexit};
	__property Classes::TNotifyEvent OnOpenFile = {read=fonopen, write=fonopen};
	__property Classes::TNotifyEvent OnSaveFile = {read=fonsave, write=fonsave};
	__property Forms::TWindowState Windowstate = {read=FWindowState, write=FWindowState, default=0};
	__property Forms::TPosition WindowPosition = {read=FWindowPosition, write=FWindowPosition, default=4};
	__property Forms::TBorderIcons BorderIcons = {read=FBorderIcons, write=SetBordericons, default=0};
	__property int WindowWidth = {read=FWindowWidth, write=FWindowWidth, default=400};
	__property int WindowHeight = {read=FWindowHeight, write=FWindowHeight, default=240};
	__property Graphics::TIcon* Icon = {read=fico, write=SetIcon};
	__property bool ReadOnly = {read=FReadOnly, write=FReadOnly, default=0};
};


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

}	/* namespace Ahmttextfileview */
using namespace Ahmttextfileview;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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