The DataCheckBox class represents the connection of a DataCheckBox to a database field of type Boolean. The tristate state is displayed if the field value has the database-specific value NULL.
The DataCheckBox class has the following properties:
Property | Data type | Description |
---|---|---|
Text | String | Sets the description that is displayed after the DataCheckBox. You can also read out the description. |
Value | Variant | Sets the value of the DataCheckBox. You can also read the value of the property. |
Valid | Boolean | Indicates whether the content of the control is permitted (True (check mark), False (empty), tristate state NULL (-) ). |
Table 22.5.2.1.1 : Properties of the DataCheckBox class
Figure 22.5.2.1.1: Display of the states
The DataCheckBox class only has this relevant method: DataCheckBox.Update( ). It reloads the (current) field value into the DataCheckBox.