📄 dblookupeh.hpp
字号:
// CodeGear C++ Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Dblookupeh.pas' rev: 11.00
#ifndef DblookupehHPP
#define DblookupehHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp> // Pascal unit
#include <Sysinit.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Sysutils.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Variants.hpp> // Pascal unit
#include <Stdctrls.hpp> // Pascal unit
#include <Mask.hpp> // Pascal unit
#include <Db.hpp> // Pascal unit
#include <Dbctrls.hpp> // Pascal unit
#include <Buttons.hpp> // Pascal unit
#include <Dbctrlseh.hpp> // Pascal unit
#include <Toolctrlseh.hpp> // Pascal unit
#include <Menus.hpp> // Pascal unit
#include <Ehlibvcl.hpp> // Pascal unit
#include <Dblookupgridseh.hpp> // Pascal unit
#include <Dbgrideh.hpp> // Pascal unit
#include <Imglist.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Dblookupeh
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TLookupComboboxDropDownBoxEh;
class PASCALIMPLEMENTATION TLookupComboboxDropDownBoxEh : public Dbgrideh::TColumnDropDownBoxEh
{
typedef Dbgrideh::TColumnDropDownBoxEh inherited;
__published:
__property Align = {default=0};
__property AutoDrop = {default=0};
__property Rows = {default=7};
__property ShowTitles = {default=0};
__property Sizable = {default=0};
__property SpecRow ;
__property Width = {default=0};
public:
#pragma option push -w-inl
/* TColumnDropDownBoxEh.Create */ inline __fastcall TLookupComboboxDropDownBoxEh(Classes::TPersistent* Owner) : Dbgrideh::TColumnDropDownBoxEh(Owner) { }
#pragma option pop
#pragma option push -w-inl
/* TColumnDropDownBoxEh.Destroy */ inline __fastcall virtual ~TLookupComboboxDropDownBoxEh(void) { }
#pragma option pop
};
class DELPHICLASS TDataSourceLinkEh;
class DELPHICLASS TCustomDBLookupComboboxEh;
class DELPHICLASS TListSourceLinkEh;
class PASCALIMPLEMENTATION TListSourceLinkEh : public Db::TDataLink
{
typedef Db::TDataLink inherited;
private:
TCustomDBLookupComboboxEh* FDBLookupControl;
protected:
virtual void __fastcall ActiveChanged(void);
virtual void __fastcall DataSetChanged(void);
virtual void __fastcall LayoutChanged(void);
public:
__fastcall TListSourceLinkEh(void);
public:
#pragma option push -w-inl
/* TDataLink.Destroy */ inline __fastcall virtual ~TListSourceLinkEh(void) { }
#pragma option pop
};
#pragma option push -b-
enum TDBLookupComboboxEhStyle { csDropDownListEh, csDropDownEh };
#pragma option pop
class PASCALIMPLEMENTATION TCustomDBLookupComboboxEh : public Dbctrlseh::TCustomDBEditEh
{
typedef Dbctrlseh::TCustomDBEditEh inherited;
private:
DynamicArray<Db::TField* > FDataFields;
AnsiString FDataFieldName;
bool FDataFieldsUpdating;
Dblookupgridseh::TPopupDataGridEh* FDataList;
TLookupComboboxDropDownBoxEh* FDropDownBox;
bool FInternalTextSetting;
DynamicArray<Db::TField* > FKeyFields;
AnsiString FKeyFieldName;
bool FKeyTextIndependent;
Variant FKeyValue;
bool FListActive;
bool FListColumnMothed;
Db::TField* FListField;
int FListFieldIndex;
AnsiString FListFieldName;
Classes::TList* FListFields;
TListSourceLinkEh* FListLink;
Db::TDataSource* FListSource;
bool FListVisible;
bool FLockUpdateKeyTextIndependent;
bool FLookupMode;
Db::TDataSource* FLookupSource;
DynamicArray<Db::TField* > FMasterFields;
AnsiString FMasterFieldNames;
Toolctrlseh::TCloseUpEventEh FOnCloseUp;
Classes::TNotifyEvent FOnDropDown;
Classes::TNotifyEvent FOnKeyValueChanged;
Toolctrlseh::TNotInListEventEh FOnNotInList;
TDBLookupComboboxEhStyle FStyle;
bool FTextBeenChanged;
TDataSourceLinkEh* __fastcall GetDataLink(void);
AnsiString __fastcall GetKeyFieldName();
Db::TDataSource* __fastcall GetListSource(void);
Toolctrlseh::TButtonClickEventEh __fastcall GetOnButtonClick();
Toolctrlseh::TButtonDownEventEh __fastcall GetOnButtonDown();
Dbgrideh::TCheckTitleEhBtnEvent __fastcall GetOnDropDownBoxCheckButton();
Dbgrideh::TDrawColumnEhCellEvent __fastcall GetOnDropDownBoxDrawColumnCell();
Dbgrideh::TGetCellEhParamsEvent __fastcall GetOnDropDownBoxGetCellParams();
Classes::TNotifyEvent __fastcall GetOnDropDownBoxSortMarkingChanged();
Dbgrideh::TTitleEhClickEvent __fastcall GetOnDropDownBoxTitleBtnClick();
void __fastcall CheckNotCircular(void);
void __fastcall CheckNotLookup(void);
HIDESBASE MESSAGE void __fastcall CMCancelMode(Controls::TCMCancelMode &Message);
HIDESBASE MESSAGE void __fastcall CMMouseWheel(Controls::TCMMouseWheel &Message);
HIDESBASE MESSAGE void __fastcall CMWantSpecialKey(Messages::TWMKey &Message);
void __fastcall DataListKeyValueChanged(System::TObject* Sender);
MESSAGE void __fastcall EMReplacesel(Messages::TMessage &Message);
void __fastcall ListMouseCloseUp(System::TObject* Sender, bool Accept);
void __fastcall ListColumnMoved(System::TObject* Sender, int FromIndex, int ToIndex);
void __fastcall SetDataFieldName(const AnsiString Value);
void __fastcall SetDropDownBox(const TLookupComboboxDropDownBoxEh* Value);
void __fastcall SetKeyFieldName(const AnsiString Value);
void __fastcall SetKeyValue(const Variant &Value);
void __fastcall SetListFieldName(const AnsiString Value);
void __fastcall SetListSource(Db::TDataSource* Value);
void __fastcall SetLookupMode(bool Value);
void __fastcall SetOnButtonClick(const Toolctrlseh::TButtonClickEventEh Value);
void __fastcall SetOnButtonDown(const Toolctrlseh::TButtonDownEventEh Value);
void __fastcall SetOnDropDownBoxCheckButton(const Dbgrideh::TCheckTitleEhBtnEvent Value);
void __fastcall SetOnDropDownBoxDrawColumnCell(const Dbgrideh::TDrawColumnEhCellEvent Value);
void __fastcall SetOnDropDownBoxGetCellParams(const Dbgrideh::TGetCellEhParamsEvent Value);
void __fastcall SetOnDropDownBoxSortMarkingChanged(const Classes::TNotifyEvent Value);
void __fastcall SetOnDropDownBoxTitleBtnClick(const Dbgrideh::TTitleEhClickEvent Value);
void __fastcall SetStyle(const TDBLookupComboboxEhStyle Value);
void __fastcall UpdateKeyTextIndependent(void);
void __fastcall UpdateReadOnly(void);
HIDESBASE MESSAGE void __fastcall WMChar(Messages::TWMKey &Message);
HIDESBASE MESSAGE void __fastcall WMCut(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMKeyDown(Messages::TWMKey &Message);
HIDESBASE MESSAGE void __fastcall WMKillFocus(Messages::TWMKillFocus &Message);
HIDESBASE MESSAGE void __fastcall WMPaste(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMSetCursor(Messages::TWMSetCursor &Message);
protected:
virtual bool __fastcall ButtonEnabled(void);
virtual bool __fastcall CanModify(bool TryEdit);
virtual Dbctrlseh::TFieldDataLinkEh* __fastcall CreateDataLink(void);
virtual Toolctrlseh::TEditButtonEh* __fastcall CreateEditButton(void);
virtual bool __fastcall CompatibleVarValue(Toolctrlseh::TFieldsArrEh AFieldsArr, const Variant &AVlaue);
virtual Classes::TAlignment __fastcall DefaultAlignment(void);
DYNAMIC bool __fastcall DoMouseWheelDown(Classes::TShiftState Shift, const Types::TPoint &MousePos);
DYNAMIC bool __fastcall DoMouseWheelUp(Classes::TShiftState Shift, const Types::TPoint &MousePos);
HIDESBASE Db::TField* __fastcall GetDataField(void);
AnsiString __fastcall GetDisplayText(Db::TField* Field);
virtual AnsiString __fastcall GetDisplayTextForPaintCopy();
virtual int __fastcall GetListFieldsWidth(void);
virtual Variant __fastcall GetVariantValue();
virtual bool __fastcall IsValidChar(char InputChar);
virtual bool __fastcall LocateStr(AnsiString Str, bool PartialKey);
virtual bool __fastcall LocateDataSourceKey(Db::TDataSource* DataSource);
virtual bool __fastcall SpecListMode(void);
Db::TDataSource* __fastcall FullListSource(void);
bool __fastcall TraceMouseMoveForPopupListbox(System::TObject* Sender, Classes::TShiftState Shift, int X, int Y);
Db::TDataSource* __fastcall UsedListSource(void);
virtual void __fastcall ActiveChanged(void);
virtual void __fastcall ButtonDown(bool IsDownButton);
DYNAMIC void __fastcall Click(void);
virtual void __fastcall DataChanged(void);
virtual void __fastcall EditButtonMouseMove(System::TObject* Sender, Classes::TShiftState Shift, int X, int Y);
virtual void __fastcall InternalSetText(AnsiString AText);
virtual void __fastcall InternalSetValue(const Variant &AValue);
void __fastcall HookOnChangeEvent(System::TObject* Sender);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -