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

// (DO NOT EDIT: machine generated header) 'ahmtversionlabel.pas' rev: 6.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;
	AnsiString 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 AnsiString 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  = {default=0};
	__property Align  = {default=0};
	__property Color  = {default=-2147483643};
	__property Font ;
	__property AutoSize  = {default=1};
	__property Alignment  = {default=0};
	__property ParentFont  = {default=1};
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 */
using namespace Ahmtversionlabel;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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