ListViewEx.
Selects a range of items by extending the selection in the listview.
This functionality is supported only if you are using the Open Agent.
listview.ExtendSelect (item)
Variable | Description |
---|---|
item | The item to which to extend the selection. LISTITEM. |
ExtendSelect extends the list selection by scrolling the item into view and selecting it.
ExtendSelect requires that the list already has a selected item. Precede the call with a call to Select to select the first item.
// Selects the items between TheFirstItem and TheLastItem, inclusive TestApplication.ListViewDialog.Elements.Select("TheFirstItem") TestApplication.ListViewDialog.Elements.ExtendSelect("TheLastItem")