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

// (DO NOT EDIT: machine generated header) 'AHMTFadingLabel.pas' rev: 3.00

#ifndef AHMTFadingLabelHPP
#define AHMTFadingLabelHPP
#include <StdCtrls.hpp>
#include <Menus.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <ExtCtrls.hpp>
#include <AHMFreeware.hpp>
#include <Forms.hpp>
#include <Dialogs.hpp>
#include <Controls.hpp>
#include <Windows.hpp>
#include <SysUtils.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Ahmtfadinglabel
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMFadingLabel;
class PASCALIMPLEMENTATION TAHMFadingLabel : public Stdctrls::TCustomLabel 
{
	typedef Stdctrls::TCustomLabel inherited;
	
private:
	Ahmfreeware::TAHMAboutFreeStr FAbout;
	Extctrls::TTimer* ftim;
	Classes::TNotifyEvent fonv;
	Classes::TNotifyEvent fontv;
	Graphics::TColor fcol;
	bool fis;
	bool ffade;
	int fi;
	int fint;
	int fdel;
	Windows::TRect TempRect;
	int flags;
	bool fconst;
	bool fupdown;
	int fspeed;
	void __fastcall Setis(bool value);
	void __fastcall Setfade(bool value);
	void __fastcall Setcol(System::TObject* Sender);
	void __fastcall SetSpeed(int value);
	void __fastcall DrawLabel(void);
	void __fastcall SetInt(int value);
	
protected:
	virtual void __fastcall Paint(void);
	
public:
	__fastcall virtual TAHMFadingLabel(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMFadingLabel(void);
	void __fastcall Execute(void);
	virtual void __fastcall Loaded(void);
	
__published:
	__property Ahmfreeware::TAHMAboutFreeStr About = {read=FAbout, write=FAbout};
	__property Align ;
	__property Alignment ;
	__property Color ;
	__property AutoSize ;
	__property Caption ;
	__property Enabled ;
	__property FocusControl ;
	__property Font ;
	__property bool Showing = {read=fis, write=Setis, nodefault};
	__property bool Fade = {read=ffade, write=Setfade, nodefault};
	__property int BetweenColors = {read=fint, write=SetInt, nodefault};
	__property bool FadeAlltheTime = {read=fconst, write=fconst, nodefault};
	__property int FadeSpeed = {read=fspeed, write=SetSpeed, nodefault};
	__property ShowHint ;
	__property Visible ;
	__property OnClick ;
	__property OnDblClick ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property Classes::TNotifyEvent OnNotVisible = {read=fonv, write=fonv};
	__property Classes::TNotifyEvent OnTotallyVisible = {read=fontv, write=fontv};
};

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

}	/* namespace Ahmtfadinglabel */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtfadinglabel;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// AHMTFadingLabel
