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

// (DO NOT EDIT: machine generated header) 'AHMTAutoCombo.pas' rev: 4.00

#ifndef AHMTAutoComboHPP
#define AHMTAutoComboHPP

#pragma delphiheader begin
#pragma option push -w-
#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 Char, AnsiString TrackedItem
	, bool &ChangeSelection);

class DELPHICLASS TAHMAutoCombo;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAHMAutoCombo : public Stdctrls::TComboBox 
{
	typedef Stdctrls::TComboBox inherited;
	
private:
	Ahmstdclass::TAHMAboutSControlStr 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 Ahmstdclass::TAHMAboutSControlStr 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
	
};

#pragma pack(pop)

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

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

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