ListBox.selectItemById

Syntax

selectItemById(Id: String, fireEvent: true);

Parameters

Id. Identifier of the element.

fireEvent. Indicates whether the event of deselecting from the previous selected element is called. If the parameter has the "True" value then the event will be called, otherwise it will not.

Description

The selectItemById method selects the element with specified identifier.

Example

The example of property use is given in description of the ListBox.getScrollBox method.

See also:

ListBox