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

// (DO NOT EDIT: machine generated header) 'ahmtqueryaccess.pas' rev: 6.00

#ifndef ahmtqueryaccessHPP
#define ahmtqueryaccessHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmdialogclass.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Messages.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 Ahmtqueryaccess
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMQueryAccess;
class PASCALIMPLEMENTATION TAHMQueryAccess : public Ahmdialogclass::TAHMDialogComponent 
{
	typedef Ahmdialogclass::TAHMDialogComponent inherited;
	
private:
	AnsiString FAccessCode;
	AnsiString FCaption;
	Classes::TNotifyEvent FOnWrongCode;
	Classes::TNotifyEvent FOnRightCode;
	AnsiString fquery;
	
public:
	virtual bool __fastcall Execute(void);
	__fastcall virtual TAHMQueryAccess(Classes::TComponent* AOwner);
	
__published:
	__property AnsiString AccessCode = {read=FAccessCode, write=FAccessCode};
	__property Classes::TNotifyEvent OnWrongCode = {read=FOnWrongCode, write=FOnWrongCode};
	__property Classes::TNotifyEvent OnRightCode = {read=FOnRightCode, write=FOnRightCode};
	__property AnsiString Query = {read=fquery, write=fquery};
	__property AnsiString Caption = {read=FCaption, write=FCaption};
public:
	#pragma option push -w-inl
	/* TComponent.Destroy */ inline __fastcall virtual ~TAHMQueryAccess(void) { }
	#pragma option pop
	
};


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

}	/* namespace Ahmtqueryaccess */
using namespace Ahmtqueryaccess;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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