Skip to content

TWebDBListControl

Description

This is a DB-aware list control. The list control connects typically to a DB string field set by TWebDBListControl.DataField. The TWebDBListControl is connected via DataSource and DataField properties to a dataset. The items in the list itself are loaded from ListSource/ListField. In addition, the content of the item can be driven by additional fields in the ListSource connected dataset using the ItemTemplate. Fields can be referenced in the ItemTemplate by using the syntax (%FiELDNAME%). Default, the dataset field value is retrieved from Field.DisplayText but using the event OnItemGetFieldValue() it can be overridden to dynamically set it.