[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomDBListBox - base class for TDBListBox, a data-aware listbox for presenting list information from a database
Source position: dbctrls.pp line 335
type TCustomDBListBox = class(TCustomListBox) end; |
||
protected |
||
|
FDataLink - local variable holding the identity of the field data link |
|
procedure DataChange(); virtual; abstract; |
|
DataChange - method for dealing with a change in the data |
procedure KeyDown(); override; |
|
Invokes the OnKeyDown handler. |
procedure Notification(); override; |
||
procedure UpdateData(); virtual; abstract; |
|
UpdateData - method for applying any pending changes to the data |
procedure SetItems(); override; |
|
SetItems - copies the specified Values into the Items property |
public |
||
constructor Create(); override; |
|
Create - constructor for TCustomDBListBox: calls inherited Create, makes links and sets up event handlers for data change, change in Editing status and updating data |
destructor Destroy; override; |
|
Destroy - destructor for TCustomEBListbox: frees data links then calls inherited Destroy |
function ExecuteAction(); override; |
||
function UpdateAction(); override; |
||
property Field: TField; [r] |
|
The identity of the Field to which the listbox belongs |
property DataField: string; [rw] |
|
The name of the DataField to which the listbox belongs |
property DataSource: TDataSource; [rw] |
|
The identity of the DataSource from which the lookup data will be fetched |
property ReadOnly: Boolean; [rw] |
|
ReadOnly - if True, the data can only be read but not written or edited |
|
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 |
lazarus-ccr.sourceforge.net |