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

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

#ifndef ahmtautocomboHPP
#define ahmtautocomboHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmstdclass.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <Controls.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 Ahmtautocombo
{
//-- type declarations -------------------------------------------------------
typedef void __fastcall (__closure *TAHMOnComplete)(System::TObject* Sender, Word aCharacter, AnsiString aTrackedItem, bool &ChangeSelection);

class DELPHICLASS TAHMAutoCombo;
class PASCALIMPLEMENTATION TAHMAutoCombo : public Stdctrls::TComboBox 
{
	typedef Stdctrls::TComboBox inherited;
	
private:
	AnsiString FAboutStr;
	bool FComplete;
	Word FChar;
	Word FMinLength;
	TAHMOnComplete FOnComplete;
	void __fastcall SetComplete(bool value);
	void __fastcall SetMinLength(Word value);
	
protected:
	DYNAMIC void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
	DYNAMIC void __fastcall Change(void);
	
public:
	__fastcall virtual TAHMAutoCombo(Classes::TComponent* aOwner);
	
__published:
	__property AnsiString About = {read=FAboutStr, write=FAboutStr};
	__property bool Complete = {read=FComplete, write=SetComplete, nodefault};
	__property Word MinComplete = {read=FMinLength, write=SetMinLength, nodefault};
	__property TAHMOnComplete OnComplete = {read=FOnComplete, write=FOnComplete};
public:
	#pragma option push -w-inl
	/* TCustomComboBox.Destroy */ inline __fastcall virtual ~TAHMAutoCombo(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMAutoCombo(HWND ParentWindow) : Stdctrls::TComboBox(ParentWindow) { }
	#pragma option pop
	
};


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

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

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