Bound Mode > Binding True DBList Pro Controls to a Data Source > Binding to an ICursor data source |
To associate a True DBList control (TDBL8.OCX) with a Visual Basic Data control, set the RowSource property of the list to the name of a Data control on the same form. This is all that is required to make True DBList fully aware of the database in your application.
Once such a link exists, True DBList and the Data control automatically notify and respond to all operations performed by the other, simplifying your application development:
Once the list has been associated with a Data control, you can retrieve the field layout of the database at design time and use the property pages to customize the appearance of the list. For more information, see Design Time Interaction.
When you run your application, True DBList will automatically respond by displaying the contents of the Recordset defined by the Data control's RecordSource property. Data will be fully available at run time. However, the list is read-only.
True DBList will automatically update its display to reflect any changes made to the Data control. However, True DBList waits until the system is idle before performing such display updates, since your program may need to perform other actions before the display is synchronized.
Note: The DataSource property cannot be set at run time, and can only be set at design time within the Visual Basic Properties window. Use this property to update source data.