SelectRange Method (JList)

Class

JList.

Action

Selects a specified range of list elements.

Syntax

list.SelectRange(fromElement, toElement)
Variable Description
fromElement The name or index of the start element. ItemIdentifier.
toElement The name or index of the end element. ItemIdentifier.

Examples

colorsList.SelectRange("red", "green")
colorsList.SelectRange(1, 2)