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) 'AHMTDBLookupEdit.pas' rev: 3.00
-
- #ifndef AHMTDBLookupEditHPP
- #define AHMTDBLookupEditHPP
- #include <Menus.hpp>
- #include <Mask.hpp>
- #include <Graphics.hpp>
- #include <StdCtrls.hpp>
- #include <AHMTLookupEdit.hpp>
- #include <DBCtrls.hpp>
- #include <DBTables.hpp>
- #include <Db.hpp>
- #include <AHMSControls.hpp>
- #include <Messages.hpp>
- #include <Controls.hpp>
- #include <Classes.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmtdblookupedit
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TAHMDBLookupedit;
- class PASCALIMPLEMENTATION TAHMDBLookupedit : public Ahmtlookupedit::TAHMCustomLookupEdit
- {
- typedef Ahmtlookupedit::TAHMCustomLookupEdit inherited;
-
- private:
- bool FDirectInput;
- bool FAlwaysEnable;
- TAlignment FAlignment;
- Dbctrls::TFieldDataLink* FDataLink;
- Controls::TControlCanvas* FCanvas;
- bool FFocused;
- void __fastcall DataChange(System::TObject* Sender);
- void __fastcall EditingChange(System::TObject* Sender);
- System::AnsiString __fastcall GetDataField(void);
- Db::TDataSource* __fastcall GetDataSource(void);
- Db::TField* __fastcall GetField(void);
- void __fastcall SetDataField(const System::AnsiString Value);
- void __fastcall SetDataSource(Db::TDataSource* Value);
- void __fastcall SetFocused(bool Value);
- void __fastcall UpdateData(System::TObject* Sender);
- HIDESBASE MESSAGE void __fastcall CMExit(Messages::TWMNoParams &Message);
- MESSAGE void __fastcall CMGetDataLink(Messages::TMessage &Message);
- HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Message);
- HIDESBASE MESSAGE void __fastcall CMEnter(Messages::TMessage &Message);
- HIDESBASE MESSAGE void __fastcall WMPaste(Messages::TWMNoParams &Message);
- HIDESBASE MESSAGE void __fastcall WMCut(Messages::TWMNoParams &Message);
- void __fastcall SetDirectInput(bool Value);
-
- protected:
- DYNAMIC void __fastcall Change(void);
- virtual bool __fastcall EditCanModify(void);
- virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
- );
- virtual void __fastcall Reset(void);
- __property bool AlwaysEnable = {read=FAlwaysEnable, write=FAlwaysEnable, default=0};
-
- public:
- __fastcall virtual TAHMDBLookupedit(Classes::TComponent* AOwner);
- virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
- __fastcall virtual ~TAHMDBLookupedit(void);
- DYNAMIC void __fastcall KeyPress(char &Key);
- HIDESBASE void __fastcall SelectAll(void);
- virtual void __fastcall Loaded(void);
- __property Db::TField* Field = {read=GetField};
-
- __published:
- __property AutoSelect ;
- __property AutoSize ;
- __property CharCase ;
- __property Color ;
- __property Ctl3D ;
- __property System::AnsiString DataField = {read=GetDataField, write=SetDataField};
- __property Db::TDataSource* DataSource = {read=GetDataSource, write=SetDataSource};
- __property EditButton1 ;
- __property OnButton1Click ;
- __property EditButton2 ;
- __property OnButton2Click ;
- __property bool ReadonlyClickable = {read=FDirectInput, write=SetDirectInput, default=0};
- __property DragCursor ;
- __property DragMode ;
- __property Enabled ;
- __property Font ;
- __property MaxLength ;
- __property ParentColor ;
- __property ParentCtl3D ;
- __property ParentFont ;
- __property ParentShowHint ;
- __property PasswordChar ;
- __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 ;
- public:
- /* TWinControl.CreateParented */ __fastcall TAHMDBLookupedit(HWND ParentWindow) : Ahmtlookupedit::TAHMCustomLookupEdit(
- ParentWindow) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmtdblookupedit */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmtdblookupedit;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTDBLookupEdit
-