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

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

#ifndef AHMTFileLabelHPP
#define AHMTFileLabelHPP
#include <StdCtrls.hpp>
#include <Menus.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <AHMStdClass.hpp>
#include <Dialogs.hpp>
#include <Controls.hpp>
#include <Windows.hpp>
#include <SysUtils.hpp>
#include <SysInit.hpp>
#include <System.hpp>

//-- 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;
	System::AnsiString FFilename;
	char FSeparator;
	Classes::TStringList* FParts;
	bool FFirstPartIsDrive;
	void __fastcall SetFilename(System::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 System::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
//-- end unit ----------------------------------------------------------------
#endif	// AHMTFileLabel
