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

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

#ifndef ahmtdigitalHPP
#define ahmtdigitalHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmfreeware.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.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 Ahmtdigital
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMDigital;
class PASCALIMPLEMENTATION TAHMDigital : public Controls::TGraphicControl 
{
	typedef Controls::TGraphicControl inherited;
	
private:
	AnsiString FAbout;
	int fi;
	Graphics::TColor fdon;
	Graphics::TColor fdoff;
	Graphics::TColor fback;
	Classes::TNotifyEvent fonn;
	bool fborder;
	AnsiString ostr;
	void __fastcall setfi(int value);
	void __fastcall Setfdon(Graphics::TColor value);
	void __fastcall Setfdoff(Graphics::TColor value);
	void __fastcall Setback(Graphics::TColor value);
	void __fastcall SetBorder(bool value);
	
protected:
	virtual void __fastcall Paint(void);
	
public:
	__fastcall virtual TAHMDigital(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMDigital(void);
	
__published:
	__property AnsiString About = {read=FAbout, write=FAbout};
	__property OnClick ;
	__property OnDblClick ;
	__property Visible  = {default=1};
	__property int Number = {read=fi, write=setfi, nodefault};
	__property Graphics::TColor DigitOnColor = {read=fdon, write=Setfdon, nodefault};
	__property Graphics::TColor DigitShadow = {read=fdoff, write=Setfdoff, nodefault};
	__property Graphics::TColor DigitBackground = {read=fback, write=Setback, nodefault};
	__property bool Border3D = {read=fborder, write=SetBorder, nodefault};
	__property Classes::TNotifyEvent OnNewNumber = {read=fonn, write=fonn};
};


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

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

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