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

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

#ifndef ahmtrealspineditHPP
#define ahmtrealspineditHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#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;
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  = {default=1};
	__property AutoSize  = {default=1};
	__property Anchors  = {default=3};
	__property BiDiMode ;
	__property Constraints ;
	__property DragKind  = {default=0};
	__property ParentBiDiMode  = {default=1};
	__property BorderStyle  = {default=1};
	__property Color  = {default=-2147483643};
	__property Ctl3D ;
	__property DragCursor  = {default=-12};
	__property DragMode  = {default=0};
	__property Enabled  = {default=1};
	__property Font ;
	__property HideSelection  = {default=1};
	__property MaxLength  = {default=0};
	__property ParentColor  = {default=0};
	__property ParentCtl3D  = {default=1};
	__property ParentFont  = {default=1};
	__property ParentShowHint  = {default=1};
	__property PopupMenu ;
	__property ReadOnly  = {default=0};
	__property ShowHint ;
	__property TabOrder  = {default=-1};
	__property TabStop  = {default=1};
	__property Visible  = {default=1};
	__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
	
};


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

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

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