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

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

#ifndef AHMTVersionLabelHPP
#define AHMTVersionLabelHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Controls.hpp>	// Pascal unit
#include <AHMStandardConst.hpp>	// Pascal unit
#include <AHMStdClass.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtversionlabel
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TAHMVersionRes { verCompanyName, verFileDescription, verFileVersion, verInternalName, verLegalCopyright, 
	verOriginalFilename, verProductName, verProductVersion, verComments, verFlags };
#pragma option pop

class DELPHICLASS TAHMVersionLabel;
class PASCALIMPLEMENTATION TAHMVersionLabel : public Stdctrls::TLabel 
{
	typedef Stdctrls::TLabel inherited;
	
private:
	TAHMVersionRes FVersionResource;
	AnsiString FInfoPrefix;
	bool FShowInfoPrefix;
	AnsiString FVersionResourceKey;
	AnsiString FLangCharset;
	Ahmstdclass::TAHMAboutSControlStr FAboutStr;
	void __fastcall SetupInfoPrefix(void);
	void __fastcall SetupResourceKey(void);
	AnsiString __fastcall GetStringFileInfo(char * Buffer, int size);
	AnsiString __fastcall GetFixedFileInfo(char * Buffer, int size);
	AnsiString __fastcall GetInfo();
	void __fastcall SetupCaption(void);
	
protected:
	void __fastcall SetInfoPrefix(AnsiString Value);
	AnsiString __fastcall GetInfoPrefix();
	void __fastcall SetShowInfoPrefix(bool Value);
	void __fastcall SetVersionResKey(AnsiString Value);
	void __fastcall SetLangCharset(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 AnsiString VersionResKey = {read=FVersionResourceKey, write=SetVersionResKey};
	__property AnsiString InfoPrefix = {read=GetInfoPrefix, write=SetInfoPrefix};
	__property bool ShowInfoPrefix = {read=FShowInfoPrefix, write=SetShowInfoPrefix, default=1};
	__property AnsiString LangCharset = {read=FLangCharset, write=SetLangCharset};
	__property WordWrap ;
	__property Align ;
	__property Color ;
	__property Font ;
	__property AutoSize ;
	__property Alignment ;
	__property ParentFont ;
public:
	#pragma option push -w-inl
	/* TGraphicControl.Destroy */ inline __fastcall virtual ~TAHMVersionLabel(void) { }
	#pragma option pop
	
};


typedef AnsiString AHMTVersionLabel__2[10][2];

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

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

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