<< Click to display table of contents >> TSRVDBListBox |
TSRVDBListBox represents a data-aware list box that allows users to change field values by selecting an item from a list.
Unit SRVDBListBox;
Syntax
TSRVListBox = class(TSRVListBox)
TObject
TPersistent
TComponent
TControl
TWinControl
Use TSRVDBListBox to add a list box to a document that permits users to change the value of a field on the current record to one of a fixed set of choices.
If the application doesn't require the data-aware capabilities of TSRVDBListBox, use a list box (TSRVListBox) instead to conserve system resources.
New properties:
Property |
Type |
Default value |
Meaning |
---|---|---|---|
DataField |
String |
'' (empty string) |
Identifies the field from which the control displays data. |
DataSource |
TDataSource |
nil |
Links the control to a dataset. |
Field |
TField |
|
Returns the TField object whose current value the control represents. |
ReadOnly |
Boolean |
False |
Determines whether the user can change the value of the field. |