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

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

#ifndef AHMTVersionLabelHPP
#define AHMTVersionLabelHPP
#include <Controls.hpp>
#include <AHMStandardConst.hpp>
#include <AHMStdClass.hpp>
#include <StdCtrls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Ahmtversionlabel
{
//-- type declarations -------------------------------------------------------
enum TAHMVersionRes { verCompanyName, verFileDescription, verFileVersion, verInternalName, verLegalCopyright, 
	verOriginalFilename, verProductName, verProductVersion, verComments, verFlags };

class DELPHICLASS TAHMVersionLabel;
class PASCALIMPLEMENTATION TAHMVersionLabel : public Stdctrls::TLabel 
{
	typedef Stdctrls::TLabel inherited;
	
private:
	TAHMVersionRes FVersionResource;
	System::AnsiString FInfoPrefix;
	bool FShowInfoPrefix;
	System::AnsiString FVersionResourceKey;
	System::AnsiString FLangCharset;
	Ahmstdclass::TAHMAboutSControlStr FAboutStr;
	void __fastcall SetupInfoPrefix(void);
	void __fastcall SetupResourceKey(void);
	System::AnsiString __fastcall GetStringFileInfo(char * Buffer, int size);
	System::AnsiString __fastcall GetFixedFileInfo(char * Buffer, int size);
	System::AnsiString __fastcall GetInfo(void);
	void __fastcall SetupCaption(void);
	
protected:
	void __fastcall SetInfoPrefix(System::AnsiString Value);
	System::AnsiString __fastcall GetInfoPrefix(void);
	void __fastcall SetShowInfoPrefix(bool Value);
	void __fastcall SetVersionResKey(System::AnsiString Value);
	void __fastcall SetLangCharset(System::AnsiString Value);
	void __fastcall SetVersionResource(TAHMVersionRes Value);
	
public:
	__fastcall virtual TAHMVersionLabel(Classes::TComponent* AOwner);
	
__published:
	__property Ahmstdclass::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
	__property TAHMVersionRes VersionRes = {read=FVersionResource, write=SetVersionResource, default=2}
		;
	__property System::AnsiString VersionResKey = {read=FVersionResourceKey, write=SetVersionResKey};
	__property System::AnsiString InfoPrefix = {read=GetInfoPrefix, write=SetInfoPrefix};
	__property bool ShowInfoPrefix = {read=FShowInfoPrefix, write=SetShowInfoPrefix, default=1};
	__property System::AnsiString LangCharset = {read=FLangCharset, write=SetLangCharset};
	__property WordWrap ;
	__property Align ;
	__property Color ;
	__property Font ;
	__property AutoSize ;
	__property Alignment ;
	__property ParentFont ;
public:
	/* TGraphicControl.Destroy */ __fastcall virtual ~TAHMVersionLabel(void) { }
	
};

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE System::AnsiString VersionLookup[10][2];

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