IComboBox.Items

Syntax

Items: IStringList;

Description

The Items property determines the collection of drop-down list strings.

Comments

A string list is determined in the String Editor dialog box in the form design mode. Clicking the button opens the dialog in the Items property area in the object inspector.

If the Resources property is set in the form that houses the element, the ResourcesID additional attribute is added to the Object Inspector for the Items property. This attribute enables the user to determine the element of , from which the values for the component are taken. The value of this attribute is formed automatically and consists of the name of the component that contains object and name of the object separated by points.

When value of the Items property is changed, the value of the corresponding value for the default language is changed.

When the value of the ResourcesID attribute is changed, the identifier of the appropriate element is changed in the connected to the form resources.

See also:

IComboBox