Class TrDBRecordSelection
Unit
rDBComponents
Declaration
type TrDBRecordSelection = class(TCustomComboBox)
Description
DB Combobox for showing and selecting of active record, show active record and drop down show list of all records with possibility to select active record
Hierarchy
- TCustomComboBox
- TrDBRecordSelection
Overview
Methods
Properties
Description
Methods
|
function LoadList: integer; |
load list of records (called automatically)
|
Properties
|
property Align; |
|
|
property AutoComplete default true; |
|
|
property AutoCompleteDelay default 500; |
|
|
property AutoDropDown default false; |
|
|
property AutoCloseUp default false; |
|
|
property BevelEdges; |
|
|
property BevelInner; |
|
|
property BevelKind default bkNone; |
|
|
property BevelOuter; |
|
|
property Style; |
|
|
property Anchors; |
Must be published before Items
|
|
property BiDiMode; |
|
|
property Color; |
|
|
property Constraints; |
|
|
property Ctl3D; |
|
|
property DoubleBuffered; |
|
|
property DragCursor; |
|
|
property DragKind; |
|
|
property DragMode; |
|
|
property DropDownCount; |
|
|
property Enabled; |
|
|
property Font; |
|
|
property ImeMode; |
|
|
property ImeName; |
|
|
property ItemHeight; |
|
|
property ParentBiDiMode; |
|
|
property ParentColor; |
|
|
property ParentCtl3D; |
|
|
property ParentDoubleBuffered; |
|
|
property ParentFont; |
|
|
property ParentShowHint; |
|
|
property PopupMenu; |
|
|
property ShowHint; |
|
|
property Sorted; |
|
|
property TabOrder; |
|
|
property TabStop; |
|
|
property TextHint; |
|
|
property Touch; |
|
|
property Visible; |
|
|
property OnChange; |
|
|
property OnClick; |
|
|
property OnCloseUp; |
|
|
property OnContextPopup; |
|
|
property OnDblClick; |
|
|
property OnDragDrop; |
|
|
property OnDragOver; |
|
|
property OnDrawItem; |
|
|
property OnDropDown; |
|
|
property OnEndDock; |
|
|
property OnEndDrag; |
|
|
property OnEnter; |
|
|
property OnExit; |
|
|
property OnGesture; |
|
|
property OnKeyDown; |
|
|
property OnKeyPress; |
|
|
property OnKeyUp; |
|
|
property OnMeasureItem; |
|
|
property OnMouseEnter; |
|
|
property OnMouseLeave; |
|
|
property OnSelect; |
|
|
property OnStartDock; |
|
|
property OnStartDrag; |
|
|
property DataSource: TDataSource read GetDataSource write SetDataSource; |
define datasource to select record
|
|
property RecIdField: string read FRecIdField write SetRecIdField; |
define ID field name which identifies record, must be numeric field
|
|
property ListFields: string read FListFields write SetListFields; |
define list of fields and constants for each item, field separator=; constant separator=" e.g. ProductName;"; (id=";ProductId;")"
|
|
property LoadListEvent: TLoadListEvent read FLoadListEvent write FLoadListEvent default leAfterOpen; |
define event when the list is loaded
|
|
property EditingState: TEditingState read FEditingState write FEditingState default esDisable; |
define action if editing is active and use select another record
|
|
property DBEditLabel: TDBBoundLabel read FDBEditLabel; |
define properties of bound label
|
Generated by PasDoc 0.15.0.
|