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

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

#ifndef AHMTRealSpinEditHPP
#define AHMTRealSpinEditHPP

#pragma delphiheader begin
#pragma option push -w-
#include <Mask.hpp>	// Pascal unit
#include <AHMStdClass.hpp>	// Pascal unit
#include <AHMTLookupEdit.hpp>	// Pascal unit
#include <StdCtrls.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 <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtrealspinedit
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMRealSpinEdit;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAHMRealSpinEdit : public Ahmtlookupedit::TAHMCustomLookupEdit 
{
	typedef Ahmtlookupedit::TAHMCustomLookupEdit inherited;
	
private:
	double FSmallStep;
	double FBigStep;
	Classes::TAlignment FAlignment;
	Shortint FDecimals;
	Classes::TNotifyEvent FInvalidEntry;
	Classes::TNotifyEvent FValidChange;
	double FMaxValue;
	double FMinValue;
	AnsiString FormatMask;
	void __fastcall IncNumber(System::TObject* Sender);
	void __fastcall DecNumber(System::TObject* Sender);
	void __fastcall SetAsCurrency(System::Currency Value);
	HIDESBASE void __fastcall SetAlignment(Classes::TAlignment Value);
	void __fastcall SetAsFloat(double Value);
	void __fastcall SetAsInteger(int Value);
	void __fastcall SetDecimals(Shortint Value);
	void __fastcall SetMaxValue(double xValue);
	void __fastcall SetMinValue(double xValue);
	void __fastcall SetValue(double Value);
	void __fastcall DeleteKey(Word Key);
	HIDESBASE void __fastcall DeleteSelection(void);
	void __fastcall InvalidEntry(void);
	void __fastcall SetFormatMask(void);
	HIDESBASE MESSAGE void __fastcall WMCut(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall WMPaste(Messages::TMessage &Message);
	System::Currency __fastcall GetAsCurrency(void);
	double __fastcall GetAsFloat(void);
	int __fastcall GetAsInteger(void);
	double __fastcall GetValue(void);
	
protected:
	DYNAMIC void __fastcall Change(void);
	DYNAMIC void __fastcall DoEnter(void);
	DYNAMIC void __fastcall DoExit(void);
	
public:
	DYNAMIC void __fastcall KeyPress(char &Key);
	DYNAMIC void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
	__fastcall virtual TAHMRealSpinEdit(Classes::TComponent* AOwner);
	virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
	__property System::Currency AsCurrency = {read=GetAsCurrency, write=SetAsCurrency};
	__property double AsFloat = {read=GetAsFloat, write=SetAsFloat};
	__property int AsInteger = {read=GetAsInteger, write=SetAsInteger, nodefault};
	
__published:
	__property AutoSelect ;
	__property AutoSize ;
	__property BorderStyle ;
	__property Color ;
	__property Ctl3D ;
	__property DragCursor ;
	__property DragMode ;
	__property Enabled ;
	__property Font ;
	__property HideSelection ;
	__property MaxLength ;
	__property ParentColor ;
	__property ParentCtl3D ;
	__property ParentFont ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ReadOnly ;
	__property ShowHint ;
	__property TabOrder ;
	__property TabStop ;
	__property Visible ;
	__property OnChange ;
	__property OnClick ;
	__property OnDblClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDrag ;
	__property OnEnter ;
	__property OnExit ;
	__property OnKeyDown ;
	__property OnKeyPress ;
	__property OnKeyUp ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnStartDrag ;
	__property double StepSmall = {read=FSmallStep, write=FSmallStep};
	__property double StepBig = {read=FBigStep, write=FBigStep};
	__property Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=1};
	__property Shortint Decimals = {read=FDecimals, write=SetDecimals, default=2};
	__property double MaxValue = {read=FMaxValue, write=SetMaxValue};
	__property double MinValue = {read=FMinValue, write=SetMinValue};
	__property double Value = {read=GetValue, write=SetValue, stored=true};
	__property Classes::TNotifyEvent OnInvalidEntry = {read=FInvalidEntry, write=FInvalidEntry};
	__property Classes::TNotifyEvent OnValidChange = {read=FValidChange, write=FValidChange};
public:
	#pragma option push -w-inl
	/* TAHMCustomLookupEdit.Destroy */ inline __fastcall virtual ~TAHMRealSpinEdit(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMRealSpinEdit(HWND ParentWindow) : Ahmtlookupedit::TAHMCustomLookupEdit(
		ParentWindow) { }
	#pragma option pop
	
};

#pragma pack(pop)

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

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

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