From Xojo Documentation(Redirected from Checkbox.DataSource)
| This item has been deprecated since version 2018r4 and should no longer be used.
There is no replacement for this item.
The DataControl that references a table in a database whose fields are displayed.
Use the DataField property to link a field to be displayed in a CheckBox. In the IDE, a popup menu of field names will appear in the Properties pane. When setting in code, it takes a String. Assign it to the Name property of a DataControl. Note: Database fields can also be displayed using TextFields and TextAreas, ListBoxes, and Label controls.
The following example links the Checkbox to a database and a field in the database.