home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'EsEdCalc.pas' rev: 3.00
-
- #ifndef EsEdCalcHPP
- #define EsEdCalcHPP
- #include <EsEdPop.hpp>
- #include <EsConst.hpp>
- #include <EsCalc.hpp>
- #include <EsBase.hpp>
- #include <SysUtils.hpp>
- #include <StdCtrls.hpp>
- #include <Messages.hpp>
- #include <Menus.hpp>
- #include <Graphics.hpp>
- #include <Forms.hpp>
- #include <Controls.hpp>
- #include <Classes.hpp>
- #include <Buttons.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Esedcalc
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TEsCustomNumberEdit;
- class PASCALIMPLEMENTATION TEsCustomNumberEdit : public Esedpop::TEsEdPopup
- {
- typedef Esedpop::TEsEdPopup inherited;
-
- protected:
- bool FAllowIncDec;
- Escalc::TEsCalcColors* FPopupCalcColors;
- Graphics::TFont* FPopupCalcFont;
- int FPopupCalcHeight;
- int FPopupCalcWidth;
- Escalc::TEsCalculator* Calculator;
- Controls::TCursor HoldCursor;
- bool WasAutoScroll;
- double __fastcall GetAsFloat(void);
- int __fastcall GetAsInteger(void);
- System::AnsiString __fastcall GetAsString();
- void __fastcall SetAsFloat(double Value);
- void __fastcall SetAsInteger(int Value);
- void __fastcall SetAsString(const System::AnsiString Value);
- bool __fastcall GetReadOnly(void);
- void __fastcall SetPopupCalcFont(Graphics::TFont* Value);
- HIDESBASE void __fastcall SetReadOnly(bool Value);
- void __fastcall PopupButtonPressed(System::TObject* Sender, Escalc::TEsCalculatorButton Button);
- void __fastcall PopupKeyDown(System::TObject* Sender, Word &Key, Classes::TShiftState Shift);
- void __fastcall PopupKeyPress(System::TObject* Sender, char &Key);
- void __fastcall PopupMouseDown(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState
- Shift, int X, int Y);
- DYNAMIC void __fastcall DoExit(void);
- DYNAMIC void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
- DYNAMIC void __fastcall KeyPress(char &Key);
- DYNAMIC void __fastcall PopupClose(System::TObject* Sender);
- __property bool AllowIncDec = {read=FAllowIncDec, write=FAllowIncDec, default=0};
- __property Escalc::TEsCalcColors* PopupCalcColors = {read=FPopupCalcColors, write=FPopupCalcColors}
- ;
- __property Graphics::TFont* PopupCalcFont = {read=FPopupCalcFont, write=SetPopupCalcFont};
- __property int PopupCalcHeight = {read=FPopupCalcHeight, write=FPopupCalcHeight, default=140};
- __property int PopupCalcWidth = {read=FPopupCalcWidth, write=FPopupCalcWidth, default=200};
- __property bool ReadOnly = {read=GetReadOnly, write=SetReadOnly, nodefault};
-
- public:
- __fastcall virtual TEsCustomNumberEdit(Classes::TComponent* AOwner);
- __fastcall virtual ~TEsCustomNumberEdit(void);
- DYNAMIC void __fastcall PopupOpen(void);
- __property int AsInteger = {read=GetAsInteger, write=SetAsInteger, nodefault};
- __property double AsFloat = {read=GetAsFloat, write=SetAsFloat};
- __property System::AnsiString AsString = {read=GetAsString, write=SetAsString};
- public:
- /* TWinControl.CreateParented */ __fastcall TEsCustomNumberEdit(HWND ParentWindow) : Esedpop::TEsEdPopup(
- ParentWindow) { }
-
- };
-
- class DELPHICLASS TEsNumberEdit;
- class PASCALIMPLEMENTATION TEsNumberEdit : public Esedcalc::TEsCustomNumberEdit
- {
- typedef Esedcalc::TEsCustomNumberEdit inherited;
-
- __published:
- __property AllowIncDec ;
- __property AutoSelect ;
- __property AutoSize ;
- __property BorderStyle ;
- __property Color ;
- __property Ctl3D ;
- __property Cursor ;
- __property DragCursor ;
- __property DragMode ;
- __property Enabled ;
- __property EsLabelInfo ;
- __property Font ;
- __property HideSelection ;
- __property ParentColor ;
- __property ParentCtl3D ;
- __property ParentFont ;
- __property ParentShowHint ;
- __property PopupCalcColors ;
- __property PopupCalcFont ;
- __property PopupCalcHeight ;
- __property PopupCalcWidth ;
- __property PopupMenu ;
- __property ReadOnly ;
- __property ShowHint ;
- __property ShowButton ;
- __property TabOrder ;
- __property TabStop ;
- __property Version ;
- __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 ;
- public:
- /* TEsCustomNumberEdit.Create */ __fastcall virtual TEsNumberEdit(Classes::TComponent* AOwner) : Esedcalc::
- TEsCustomNumberEdit(AOwner) { }
- /* TEsCustomNumberEdit.Destroy */ __fastcall virtual ~TEsNumberEdit(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TEsNumberEdit(HWND ParentWindow) : Esedcalc::TEsCustomNumberEdit(
- ParentWindow) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Esedcalc */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Esedcalc;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // EsEdCalc
-