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

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

#ifndef ahmtserialnumberHPP
#define ahmtserialnumberHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmdialogclass.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <StdCtrls.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 Ahmtserialnumber
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMSerialNumber;
class PASCALIMPLEMENTATION TAHMSerialNumber : public Ahmdialogclass::TAHMDialogComponent 
{
	typedef Ahmdialogclass::TAHMDialogComponent inherited;
	
private:
	AnsiString fprefix;
	AnsiString fsuffix;
	AnsiString FCalcSerialCode;
	AnsiString FCalcOwnerName;
	int FUniqueFiveDigits;
	Classes::TNotifyEvent FOnWrongCode;
	Classes::TNotifyEvent FOnRightCode;
	AnsiString FFormCaption;
	Classes::TNotifyEvent FOnCancel;
	AnsiString FSerialCaption;
	AnsiString FNameCaption;
	Ahmdialogclass::TAHMButtonDetails* fok;
	Ahmdialogclass::TAHMButtonDetails* fcancel;
	Graphics::TFont* FFont;
	bool fdoclose;
	void __fastcall SetcoName(AnsiString value);
	void __fastcall SetInt(int value);
	void __fastcall Setpre(AnsiString value);
	void __fastcall SetOk(Ahmdialogclass::TAHMButtonDetails* value);
	void __fastcall SetFont(Graphics::TFont* Value);
	void __fastcall SetCancel(Ahmdialogclass::TAHMButtonDetails* value);
	void __fastcall Setsuf(AnsiString value);
	void __fastcall SerialCloseQuery(System::TObject* Sender, bool &CanClose);
	
public:
	__fastcall virtual TAHMSerialNumber(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMSerialNumber(void);
	virtual bool __fastcall Execute(void);
	
__published:
	__property AnsiString Prefix = {read=fprefix, write=Setpre, stored=true};
	__property AnsiString Suffix = {read=fsuffix, write=Setsuf, stored=true};
	__property int UniqueFiveDigits = {read=FUniqueFiveDigits, write=SetInt, stored=true, nodefault};
	__property AnsiString CalcOwnerName = {read=FCalcOwnerName, write=SetcoName, stored=true};
	__property AnsiString CalcSerialCode = {read=FCalcSerialCode, write=FCalcSerialCode};
	__property AnsiString FormCaption = {read=FFormCaption, write=FFormCaption};
	__property Classes::TNotifyEvent OnWrongCode = {read=FOnWrongCode, write=FOnWrongCode};
	__property Classes::TNotifyEvent OnRightCode = {read=FOnRightCode, write=FOnRightCode};
	__property bool CloseInputOnWrongCode = {read=fdoclose, write=fdoclose, nodefault};
	__property Ahmdialogclass::TAHMButtonDetails* ButtonOk = {read=fok, write=SetOk};
	__property Ahmdialogclass::TAHMButtonDetails* ButtonCancel = {read=fcancel, write=SetCancel};
	__property Graphics::TFont* Font = {read=FFont, write=SetFont};
	__property AnsiString NameCaption = {read=FNameCaption, write=FNameCaption};
	__property AnsiString SerialCaption = {read=FSerialCaption, write=FSerialCaption};
	__property Classes::TNotifyEvent OnCancel = {read=FOnCancel, write=FOnCancel};
};


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

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

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