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

// (DO NOT EDIT: machine generated header) 'AHMTFileLabel.pas' rev: 5.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:
	Ahmstdclass::TAHMAboutSControlStr 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 ;
	__property AutoSize ;
	
__published:
	__property Ahmstdclass::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
	__property AnsiString Filename = {read=FFilename, write=SetFilename};
	__property char Separator = {read=FSeparator, write=SetSeparator, default=92};
	__property Align ;
	__property Enabled ;
	__property FocusControl ;
	__property Font ;
	__property ShowHint ;
	__property Visible ;
	__property OnClick ;
	__property OnDblClick ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnDragDrop ;
	__property OnEndDrag ;
	__property OnStartDrag ;
	__property OnDragOver ;
	__property DragCursor ;
	__property DragMode ;
	__property ParentColor ;
	__property ParentFont ;
	__property ShowAccelChar ;
};


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

}	/* namespace Ahmtfilelabel */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtfilelabel;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

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