[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TDBLookupListBox, a data-aware listbox for presenting lookup list information from a database
Source position: dbctrls.pp line 412
type TDBLookupListBox = class(TCustomDBListBox) |
||
protected |
||
procedure DataChange(); override; |
|
DataChange - triggered by a change in the data: finds the index of the field containing th changed value |
procedure DoSelectionChange(); override; |
||
procedure InitializeWnd; override; |
||
procedure KeyDown(); override; |
||
procedure Loaded; override; |
||
procedure UpdateData(); override; |
|
UpdateData - method for applying any pending changes to the data |
public |
||
constructor Create(); override; |
|
Create - constructor for TDBLookupListBox: calls inherited Create then creates lookup and forms linkd |
property KeyValue: Variant; [rw] |
||
published |
||
property Align; |
|
Specifies the placement of the control inside its Parent. |
property Anchors; |
|
The set of anchor definitions for this control. |
property BiDiMode; |
||
property BorderSpacing; |
|
Determines the inner and outer border spacing for this control. |
property BorderStyle; |
|
Allows to show a border (line) around the control, |
property DataField; |
|
The name of the DataField to which the listbox belongs |
property DataSource; |
|
The identity of the DataSource from which the lookup data will be fetched |
property DragCursor; |
|
The cursor shape shown while the control is dragged. |
property DragMode; |
|
Allows the user to drag the control. |
property KeyField: ; [rw] |
|
The KeyField holding the data |
property ListField: ; [rw] |
|
The ListField for the data |
property ListFieldIndex: Integer; [rw] |
|
ListFieldIndex - the index value for the listfield |
property ListSource: TDataSource; [rw] |
|
ListSource - the data source from which the list is obtained |
property LookupCache: Boolean; [rw] |
||
property NullValueKey: TShortCut; [rw] |
||
property OnClick; |
|
Notification handler for mouse clicks. |
property OnDblClick; |
|
Event Handler for double mouse clicks. |
property OnDragDrop; |
|
This handler determines the action on an drop onto this control, in a drag-drop operation. |
property OnDragOver; |
|
Event handler for a control being dragged over this control. |
property OnEditingDone; |
||
property OnEndDrag; |
|
Notification handler for the end of a dragging operation. |
property OnEnter; |
|
Handler for control receiving the focus. |
property OnExit; |
|
Handler for control loosing the focus. This is a good place for checking the finished user input. |
property OnKeyPress; |
|
Handler for a character entered by the user. |
property OnKeyDown; |
|
Handler for keyboard key pressed. |
property OnKeyUp; |
|
Handler for keyboard key released. |
property OnMouseMove; |
|
Event handler for mouse movement within the control. |
property OnMouseDown; |
|
Event handler for mouse button going down. |
property OnMouseUp; |
|
Event handler for mouse button going up. |
property OnResize; |
|
Notification handler for a resize of the control. |
property OnStartDrag; |
|
Event handler for the start of a dragging operation. |
property OnUTF8KeyPress; |
|
Handler for a character entered by the user. |
property ParentBiDiMode; |
||
property ParentShowHint; |
|
If true, the value of ShowHint for the control will be the same as the one from the Parent. Default is true. |
property PopupMenu; |
|
A context-sensitive menu that pops up when the right mouse button is clicked over this control |
property ReadOnly; |
|
ReadOnly - if True, the data can only be read but not written or edited |
property ScrollListDataset: Boolean; [rw] |
||
property ShowHint; |
|
Enables the Hint display. |
property Sorted; |
|
Determines whether the list entries are sorted. |
property TabOrder; |
|
Determines the sequence of controls, reachable when the user presses the Tab key. |
property TabStop; |
|
Allows the user to navigate to this control, by pressing the Tab key. |
property TopIndex; |
|
Index of the first visible (topmost) item. |
property Visible; |
|
Allows to show or hide the control, and all of its children. |
end; |
|
TDBLookupListBox, a data-aware listbox for presenting lookup list information from a database |
|
| | ||
|
TCustomDBListBox - base class for TDBListBox, a data-aware listbox for presenting list information from a database |
|
| | ||
|
The base class for TListBox. |
|
| | ||
|
The base class for controls which can contain other (child) controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |