The DBList Box Component

A list box control presents the application's user with a list of elements through which they can scroll and select one or more items. The DBListBox component is a data-aware version of the list box. The item that is selected from the list is entered into the database field that is associated with the control. A list box is used in interface situations in which you want to provide the user with a fixed number of selections from which to choose.

The list can be built at design time using the Strings Editor or the collection of strings can be dynamically constructed at run time, giving the application the opportunity for the list to always contain an up-to-date set of choices. The DBListBox will highlight an element of the list if there is a match with the contents of the associated data field. If the value contained in the field does not match any element of the list, nothing is highlighted.

Was this article helpful?

0 -1

Post a comment