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) 'EsDbEd.pas' rev: 3.00
-
- #ifndef EsDbEdHPP
- #define EsDbEdHPP
- #include <EsEdPop.hpp>
- #include <EsEdCalc.hpp>
- #include <EsEdCal.hpp>
- #include <EsCalc.hpp>
- #include <EsCal.hpp>
- #include <EsBase.hpp>
- #include <StdCtrls.hpp>
- #include <Messages.hpp>
- #include <Menus.hpp>
- #include <Graphics.hpp>
- #include <Forms.hpp>
- #include <DBTables.hpp>
- #include <DBCtrls.hpp>
- #include <Db.hpp>
- #include <Controls.hpp>
- #include <Classes.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Esdbed
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TEsCustomDbNumberEdit;
- class PASCALIMPLEMENTATION TEsCustomDbNumberEdit : public Esedcalc::TEsCustomNumberEdit
- {
- typedef Esedcalc::TEsCustomNumberEdit inherited;
-
- protected:
- TAlignment FAlignment;
- Controls::TControlCanvas* FCanvas;
- Dbctrls::TFieldDataLink* FDataLink;
- bool FFocused;
- System::AnsiString __fastcall GetDataField();
- Db::TDataSource* __fastcall GetDataSource(void);
- Db::TField* __fastcall GetField(void);
- HIDESBASE bool __fastcall GetReadOnly(void);
- void __fastcall SetDataField(const System::AnsiString Value);
- void __fastcall SetDataSource(Db::TDataSource* Value);
- void __fastcall SetFocused(bool Value);
- HIDESBASE void __fastcall SetReadOnly(bool Value);
- void __fastcall DataChange(System::TObject* Sender);
- void __fastcall EditingChange(System::TObject* Sender);
- tagPOINT __fastcall GetTextMargins();
- void __fastcall UpdateData(System::TObject* Sender);
- MESSAGE void __fastcall WMCut(Messages::TMessage &Message);
- MESSAGE void __fastcall WMPaste(Messages::TMessage &Message);
- HIDESBASE MESSAGE void __fastcall WMPaint(Messages::TWMPaint &Message);
- HIDESBASE MESSAGE void __fastcall CMEnter(Messages::TWMNoParams &Message);
- HIDESBASE MESSAGE void __fastcall CMExit(Messages::TWMNoParams &Message);
- MESSAGE void __fastcall CMGetDataLink(Messages::TMessage &Message);
- DYNAMIC void __fastcall Change(void);
- DYNAMIC bool __fastcall GetButtonEnabled(void);
- DYNAMIC void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
- DYNAMIC void __fastcall KeyPress(char &Key);
- virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
- );
- DYNAMIC void __fastcall PopupClose(System::TObject* Sender);
- __property System::AnsiString DataField = {read=GetDataField, write=SetDataField};
- __property Db::TDataSource* DataSource = {read=GetDataSource, write=SetDataSource};
- __property bool ReadOnly = {read=GetReadOnly, write=SetReadOnly, default=0};
-
- public:
- __fastcall virtual TEsCustomDbNumberEdit(Classes::TComponent* AOwner);
- __fastcall virtual ~TEsCustomDbNumberEdit(void);
- DYNAMIC void __fastcall PopupOpen(void);
- __property Db::TField* Field = {read=GetField};
- public:
- /* TWinControl.CreateParented */ __fastcall TEsCustomDbNumberEdit(HWND ParentWindow) : Esedcalc::TEsCustomNumberEdit(
- ParentWindow) { }
-
- };
-
- class DELPHICLASS TEsDbNumberEdit;
- class PASCALIMPLEMENTATION TEsDbNumberEdit : public Esdbed::TEsCustomDbNumberEdit
- {
- typedef Esdbed::TEsCustomDbNumberEdit inherited;
-
- __published:
- __property AllowIncDec ;
- __property AutoSelect ;
- __property AutoSize ;
- __property BorderStyle ;
- __property Color ;
- __property Ctl3D ;
- __property Cursor ;
- __property DataField ;
- __property DataSource ;
- __property DragCursor ;
- __property DragMode ;
- __property Enabled ;
- __property EsLabelInfo ;
- __property Font ;
- __property HideSelection ;
- __property ParentColor ;
- __property ParentCtl3D ;
- __property ParentFont ;
- __property ParentShowHint ;
- __property PopupCalcColors ;
- __property PopupCalcHeight ;
- __property PopupCalcFont ;
- __property PopupCalcWidth ;
- __property PopupMenu ;
- __property ReadOnly ;
- __property ShowButton ;
- __property ShowHint ;
- __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:
- /* TEsCustomDbNumberEdit.Create */ __fastcall virtual TEsDbNumberEdit(Classes::TComponent* AOwner) :
- Esdbed::TEsCustomDbNumberEdit(AOwner) { }
- /* TEsCustomDbNumberEdit.Destroy */ __fastcall virtual ~TEsDbNumberEdit(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TEsDbNumberEdit(HWND ParentWindow) : Esdbed::TEsCustomDbNumberEdit(
- ParentWindow) { }
-
- };
-
- class DELPHICLASS TEsCustomDbDateEdit;
- class PASCALIMPLEMENTATION TEsCustomDbDateEdit : public Esedcal::TEsCustomDateEdit
- {
- typedef Esedcal::TEsCustomDateEdit inherited;
-
- protected:
- TAlignment FAlignment;
- Controls::TControlCanvas* FCanvas;
- Dbctrls::TFieldDataLink* FDataLink;
- bool FFocused;
- System::AnsiString __fastcall GetDataField();
- Db::TDataSource* __fastcall GetDataSource(void);
- Db::TField* __fastcall GetField(void);
- HIDESBASE bool __fastcall GetReadOnly(void);
- void __fastcall SetDataField(const System::AnsiString Value);
- void __fastcall SetDataSource(Db::TDataSource* Value);
- void __fastcall SetFocused(bool Value);
- HIDESBASE void __fastcall SetReadOnly(bool Value);
- void __fastcall DataChange(System::TObject* Sender);
- void __fastcall EditingChange(System::TObject* Sender);
- tagPOINT __fastcall GetTextMargins();
- void __fastcall UpdateData(System::TObject* Sender);
- MESSAGE void __fastcall WMCut(Messages::TMessage &Message);
- MESSAGE void __fastcall WMPaste(Messages::TMessage &Message);
- HIDESBASE MESSAGE void __fastcall WMPaint(Messages::TWMPaint &Message);
- HIDESBASE MESSAGE void __fastcall CMEnter(Messages::TWMNoParams &Message);
- HIDESBASE MESSAGE void __fastcall CMExit(Messages::TWMNoParams &Message);
- MESSAGE void __fastcall CMGetDataLink(Messages::TMessage &Message);
- DYNAMIC void __fastcall Change(void);
- DYNAMIC bool __fastcall GetButtonEnabled(void);
- DYNAMIC void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
- DYNAMIC void __fastcall KeyPress(char &Key);
- virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
- );
- DYNAMIC void __fastcall PopupClose(System::TObject* Sender);
- __property System::AnsiString DataField = {read=GetDataField, write=SetDataField};
- __property Db::TDataSource* DataSource = {read=GetDataSource, write=SetDataSource};
- __property bool ReadOnly = {read=GetReadOnly, write=SetReadOnly, default=0};
-
- public:
- __fastcall virtual TEsCustomDbDateEdit(Classes::TComponent* AOwner);
- __fastcall virtual ~TEsCustomDbDateEdit(void);
- DYNAMIC void __fastcall PopupOpen(void);
- __property Db::TField* Field = {read=GetField};
- public:
- /* TWinControl.CreateParented */ __fastcall TEsCustomDbDateEdit(HWND ParentWindow) : Esedcal::TEsCustomDateEdit(
- ParentWindow) { }
-
- };
-
- class DELPHICLASS TEsDbDateEdit;
- class PASCALIMPLEMENTATION TEsDbDateEdit : public Esdbed::TEsCustomDbDateEdit
- {
- typedef Esdbed::TEsCustomDbDateEdit inherited;
-
- __published:
- __property AllowIncDec ;
- __property AutoSelect ;
- __property AutoSize ;
- __property BorderStyle ;
- __property CharCase ;
- __property Color ;
- __property Ctl3D ;
- __property Cursor ;
- __property DataField ;
- __property DataSource ;
- __property DragCursor ;
- __property DragMode ;
- __property Enabled ;
- __property Epoch ;
- __property EsLabelInfo ;
- __property Font ;
- __property ForceCentury ;
- __property HideSelection ;
- __property ParentColor ;
- __property ParentCtl3D ;
- __property ParentFont ;
- __property ParentShowHint ;
- __property PopupMenu ;
- __property PopupCalColors ;
- __property PopupCalHeight ;
- __property PopupCalFont ;
- __property PopupCalWidth ;
- __property ReadOnly ;
- __property RequiredFields ;
- __property ShowButton ;
- __property ShowHint ;
- __property TabOrder ;
- __property TabStop ;
- __property TodayString ;
- __property Version ;
- __property Visible ;
- __property WeekStarts ;
- __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:
- /* TEsCustomDbDateEdit.Create */ __fastcall virtual TEsDbDateEdit(Classes::TComponent* AOwner) : Esdbed::
- TEsCustomDbDateEdit(AOwner) { }
- /* TEsCustomDbDateEdit.Destroy */ __fastcall virtual ~TEsDbDateEdit(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TEsDbDateEdit(HWND ParentWindow) : Esdbed::TEsCustomDbDateEdit(
- ParentWindow) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- extern PACKAGE System::Set<Db::TFieldType, ftUnknown, ftCursor> NumFieldTypes;
- extern PACKAGE System::Set<Db::TFieldType, ftUnknown, ftCursor> DateFieldTypes;
-
- } /* namespace Esdbed */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Esdbed;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // EsDbEd
-