User Tools

Site Tools


k22:k22.5:k22.5.2:start

22.5.2 Class DataCheckBox (gb.db.form)

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.

22.5.2.1 Properties

The DataCheckBox class has the following properties:

PropertyData typeDescription
TextStringSets the description that is displayed after the DataCheckBox. You can also read out the description.
ValueVariantSets the value of the DataCheckBox. You can also read the value of the property.
ValidBooleanIndicates 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

Status

Figure 22.5.2.1.1: Display of the states

22.5.2.2 Methods

The DataCheckBox class only has this relevant method: DataCheckBox.Update( ). It reloads the (current) field value into the DataCheckBox.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.
k22/k22.5/k22.5.2/start.txt · Last modified: by 127.0.0.1