[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TDBListBox - a data-aware version of TListBox, for displaying lists of entries from a field in a database
Source position: dbctrls.pp line 359
type TDBListBox = class(TCustomDBListBox) |
||
protected |
||
procedure DataChange(); override; |
|
DataChange - method for dealing with a change in the data |
procedure DoSelectionChange(); override; |
||
procedure UpdateData(); override; |
|
UpdateData - method for applying any pending changes to the data |
public |
||
procedure EditingDone; override; |
|
EditingDone - what to do when you have finished editing |
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 ExtendedSelect; |
|
True when a contiguous range of items can be selected by a SHIFT-click. Default True. |
property ItemHeight; |
|
The default height of all items. |
property Items; |
|
Items - the data that form the list in the box |
property MultiSelect; |
|
Allows to select more than one Item from the list, using CTRL-click. |
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 OnDrawItem; |
|
Handler for special painting of an item (in owner-draw mode). |
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 ReadOnly; |
|
ReadOnly - if True, the data can only be read but not written or edited |
property ShowHint; |
|
Enables the Hint display. |
property Sorted; |
|
Determines whether the list entries are sorted. |
property Style; |
|
Appearance of the ListBox - normal, owner-draw fixed, or owner-draw variable. |
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; |
|
TDBListBox - a data-aware version of TListBox, for displaying lists of entries from a field in 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 |
|
HowToUseDataAwareControls - Hints for accessing databases |