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

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

#ifndef ahmtdblabelHPP
#define ahmtdblabelHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmenhancedclass.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <DBCtrls.hpp>	// Pascal unit
#include <DBTables.hpp>	// Pascal unit
#include <DB.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ahmtbackground.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtdblabel
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMDBLabel;
class PASCALIMPLEMENTATION TAHMDBLabel : public Stdctrls::TCustomLabel 
{
	typedef Stdctrls::TCustomLabel inherited;
	
private:
	AnsiString FAHMAboutStr;
	Dbctrls::TFieldDataLink* FDataLink;
	Ahmtbackground::TAHMBackground* fback;
	Ahmtbackground::TAHMBackground* fback2;
	Ahmenhancedclass::TAHMFont3D* f3d;
	Ahmenhancedclass::TAHMFrame* fframe;
	void __fastcall DataChange(System::TObject* Sender);
	void __fastcall Setback(Ahmtbackground::TAHMBackground* value);
	void __fastcall Setback2(Ahmtbackground::TAHMBackground* value);
	AnsiString __fastcall GetDataField();
	Db::TDataSource* __fastcall GetDataSource(void);
	Db::TField* __fastcall GetField(void);
	AnsiString __fastcall GetFieldText();
	void __fastcall SetDataField(const AnsiString Value);
	void __fastcall SetDataSource(Db::TDataSource* Value);
	MESSAGE void __fastcall CMGetDataLink(Messages::TMessage &Message);
	void __fastcall Set3D(Ahmenhancedclass::TAHMFont3D* value);
	void __fastcall SetFrame(Ahmenhancedclass::TAHMFrame* value);
	
protected:
	virtual AnsiString __fastcall GetLabelText();
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
	virtual void __fastcall SetAutoSize(bool Value);
	virtual void __fastcall Paint(void);
	
public:
	__fastcall virtual TAHMDBLabel(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMDBLabel(void);
	__property Db::TField* Field = {read=GetField};
	virtual void __fastcall Loaded(void);
	__property AutoSize  = {default=0};
	
__published:
	__property AnsiString About = {read=FAHMAboutStr, write=FAHMAboutStr, stored=false};
	__property Anchors  = {default=3};
	__property BiDiMode ;
	__property Constraints ;
	__property DragCursor  = {default=-12};
	__property DragKind  = {default=0};
	__property DragMode  = {default=0};
	__property ParentBiDiMode  = {default=1};
	__property Align  = {default=0};
	__property Alignment  = {default=0};
	__property Ahmenhancedclass::TAHMFrame* Frame = {read=fframe, write=SetFrame, stored=false};
	__property Ahmtbackground::TAHMBackground* FontBackground = {read=fback, write=Setback};
	__property Ahmtbackground::TAHMBackground* Background = {read=fback2, write=Setback2};
	__property Caption ;
	__property Color  = {default=-2147483643};
	__property Enabled  = {default=1};
	__property FocusControl ;
	__property Font ;
	__property Ahmenhancedclass::TAHMFont3D* Font3D = {read=f3d, write=Set3D, stored=false};
	__property AnsiString DataField = {read=GetDataField, write=SetDataField};
	__property Db::TDataSource* DataSource = {read=GetDataSource, write=SetDataSource};
	__property ShowAccelChar  = {default=1};
	__property Transparent  = {default=0};
	__property ShowHint ;
	__property Visible  = {default=1};
	__property WordWrap  = {default=0};
	__property OnClick ;
	__property OnDblClick ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
};


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

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

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