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

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

#ifndef ahmtfilelabelHPP
#define ahmtfilelabelHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <StdCtrls.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <ahmstdclass.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 Ahmtfilelabel
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMFileLabel;
class PASCALIMPLEMENTATION TAHMFileLabel : public Stdctrls::TCustomLabel 
{
	typedef Stdctrls::TCustomLabel inherited;
	
private:
	AnsiString FAboutStr;
	Graphics::TBitmap* FBitmap;
	AnsiString FFilename;
	char FSeparator;
	Classes::TStringList* FParts;
	bool FFirstPartIsDrive;
	void __fastcall SetFilename(AnsiString AFilename);
	void __fastcall SetSeparator(char ASeparator);
	void __fastcall FillParts(void);
	void __fastcall AdjustCaption(void);
	
protected:
	virtual void __fastcall Paint(void);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
	
public:
	__fastcall virtual TAHMFileLabel(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMFileLabel(void);
	virtual void __fastcall Loaded(void);
	virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
	__property WordWrap  = {default=0};
	__property AutoSize  = {default=0};
	
__published:
	__property AnsiString About = {read=FAboutStr, write=FAboutStr};
	__property AnsiString Filename = {read=FFilename, write=SetFilename};
	__property char Separator = {read=FSeparator, write=SetSeparator, default=92};
	__property Align  = {default=0};
	__property Enabled  = {default=1};
	__property FocusControl ;
	__property Font ;
	__property ShowHint ;
	__property Visible  = {default=1};
	__property OnClick ;
	__property OnDblClick ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnDragDrop ;
	__property OnEndDrag ;
	__property OnStartDrag ;
	__property OnDragOver ;
	__property DragCursor  = {default=-12};
	__property DragMode  = {default=0};
	__property ParentColor  = {default=1};
	__property ParentFont  = {default=1};
	__property ShowAccelChar  = {default=1};
};


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

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

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