// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'AHMTLogWindow.pas' rev: 4.00

#ifndef AHMTLogWindowHPP
#define AHMTLogWindowHPP

#pragma delphiheader begin
#pragma option push -w-
#include <AHMFreeware.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 Ahmtlogwindow
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMLogWindowForm;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAHMLogWindowForm : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Comctrls::TRichEdit* RichEdit1;
	Menus::TMainMenu* MainMenu1;
	Menus::TMenuItem* File1;
	Menus::TMenuItem* Edit1;
	Menus::TMenuItem* New1;
	Menus::TMenuItem* Open1;
	Menus::TMenuItem* Save1;
	Menus::TMenuItem* N1;
	Menus::TMenuItem* Print1;
	Menus::TMenuItem* N2;
	Menus::TMenuItem* Exit1;
	Menus::TMenuItem* WordWrap1;
	Dialogs::TPrintDialog* PrintDialog1;
	Dialogs::TOpenDialog* OpenDialog1;
	Dialogs::TSaveDialog* SaveDialog1;
	Menus::TMenuItem* Font1;
	Menus::TMenuItem* N3;
	Dialogs::TFontDialog* FontDialog1;
	Menus::TMenuItem* Background1;
	Dialogs::TColorDialog* ColorDialog1;
	void __fastcall Print1Click(System::TObject* Sender);
	void __fastcall New1Click(System::TObject* Sender);
	void __fastcall Open1Click(System::TObject* Sender);
	void __fastcall Save1Click(System::TObject* Sender);
	void __fastcall Font1Click(System::TObject* Sender);
	void __fastcall WordWrap1Click(System::TObject* Sender);
	void __fastcall Exit1Click(System::TObject* Sender);
	void __fastcall Background1Click(System::TObject* Sender);
	
public:
	Classes::TNotifyEvent aexit;
	Classes::TNotifyEvent aopen;
	Classes::TNotifyEvent asave;
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TAHMLogWindowForm(Classes::TComponent* AOwner) : 
		Forms::TForm(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TAHMLogWindowForm(Classes::TComponent* AOwner
		, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TAHMLogWindowForm(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMLogWindowForm(HWND ParentWindow) : Forms::TForm(
		ParentWindow) { }
	#pragma option pop
	
};

#pragma pack(pop)

class DELPHICLASS TAHMLogWindow;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAHMLogWindow : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
private:
	Ahmfreeware::TAHMAboutFreeStr FAbout;
	AnsiString fedcap;
	AnsiString ffil;
	Graphics::TColor fbcol;
	Classes::TNotifyEvent fonsave;
	Classes::TNotifyEvent fonexit;
	Classes::TNotifyEvent fonexec;
	Graphics::TFont* ffon;
	bool dN1;
	bool fload;
	Forms::TPosition fwpos;
	int fheight;
	int fwidth;
	Forms::TBorderIcons fbord;
	bool freado;
	Graphics::TIcon* fico;
	Forms::TWindowState fwstate;
	void __fastcall Setfont(Graphics::TFont* value);
	void __fastcall SetMenuFile(bool value);
	void __fastcall SetBordericons(Forms::TBorderIcons value);
	void __fastcall SetIco(Graphics::TIcon* value);
	
public:
	__fastcall virtual TAHMLogWindow(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMLogWindow(void);
	bool __fastcall execute(void);
	void __fastcall Log(AnsiString value);
	void __fastcall Clear(void);
	
__published:
	__property Ahmfreeware::TAHMAboutFreeStr About = {read=FAbout, write=FAbout};
	__property AnsiString LogWindowCaption = {read=fedcap, write=fedcap};
	__property Graphics::TColor LogWindowColor = {read=fbcol, write=fbcol, nodefault};
	__property Graphics::TFont* LogWindowFonts = {read=ffon, write=Setfont};
	__property bool FileMenu = {read=dN1, write=SetMenuFile, nodefault};
	__property AnsiString OpenFilename = {read=ffil, write=ffil};
	__property bool OpenFileOnExecute = {read=fload, write=fload, nodefault};
	__property Classes::TNotifyEvent OnExecute = {read=fonexec, write=fonexec};
	__property Classes::TNotifyEvent OnExit = {read=fonexit, write=fonexit};
	__property Classes::TNotifyEvent OnSaveFile = {read=fonsave, write=fonsave};
	__property Forms::TWindowState Windowstate = {read=fwstate, write=fwstate, nodefault};
	__property Forms::TPosition WindowPosition = {read=fwpos, write=fwpos, nodefault};
	__property Forms::TBorderIcons BorderIcons = {read=fbord, write=SetBordericons, nodefault};
	__property int WindowWidth = {read=fwidth, write=fwidth, nodefault};
	__property int WindowHeight = {read=fheight, write=fheight, nodefault};
	__property bool Readonly = {read=freado, write=freado, nodefault};
	__property Graphics::TIcon* LogWindowIcon = {read=fico, write=SetIco};
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TAHMLogWindowForm* fvwf;

}	/* namespace Ahmtlogwindow */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtlogwindow;
#endif
#pragma option pop	// -w-

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