IListBox.Items

Syntax

Items: IStringList;

Description

The Items property determines the list of component strings.

Comments

The list of strings is set in the string editor. The String Editor dialog box opens on clicking the button of the Items property of the ListBox component 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 should be 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.

The change of the value of the Items property causes the change of the value of the appropriate element of for the default language.

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:

IListBox