[Overview][Constants][Types][Classes][Procedures and functions][Index] |
The name (as a string) of the field with which the checkbox is to be associated.
Source position: dbctrls.pp line 692
published property TDBCheckBox.DataField : string |
DataField is a String property which specifies the name of the field in the linked dataset where the value for the data-aware control is stored. Read and write access to the property value is redirected to the FieldName property in the internal TFieldDataLink instance used in the class.
The field can use either a Boolean or a String data type. For a String field type, use either the ValueChecked or ValueUnchecked property to define the value stored in the dataset for the corresponding control State.
Use DataSource to specify the linked dataset for the data-aware control.
Use Checked to read or write the control state (and the value for the field) as a Boolean data type.
|
The check, unchecked, or grayed state for the control. |
|
|
Indicates the checked state for the control. |
|
|
Provides access to the dataset with content for the control. |
|
|
ValueChecked is the value to use when the box is checked, for example True or 1 |
|
|
ValueUnchecked is the value to use when the box is unchecked, for example False or 0 |
|
|
FieldName - the name of the attached field, stored as a string. |
|
TDataLink.DataSource |
lazarus-ccr.sourceforge.net |