ListBox.DataSource
From Xojo Documentation
This item was deprecated in version 2018r4. |
Property (As String )
aListBox.DataSource = newStringValue
or
StringValue = aListBox.DataSource
Supported for all project types and targets.
or
StringValue = aListBox.DataSource
Supported for all project types and targets.
The DataControl that references a table in a database whose fields are displayed using the ListBox.
Notes
Use the DataField property to link the field to be displayed to the ListBox. In the IDE, a popup menu of field names will appear. When set in code, it takes a String, e.g.,
ListBox1.DataSource = "DataControl1"