Action
Selects a group of contiguous items from the treeview.
Availability
This functionality is supported only if you are using the Classic Agent.
Syntax
treeview.SelectList (lItems)
Variable
|
Description
|
lItems
|
The items to select.
LIST OF STRING or
LIST OF INTEGER.
|
Notes
SelectList selects a set of items in a multiple-selection treeview by taking the following steps:
- Unselects all selected items.
- Selects the first item in the list.
- Multi-selects (by Ctrl+clicking) all other items in the list.
For information on specifying
lItems, see the
TreeView class.
Example
MyDialog.MyTreeView.MultiSelectList ({1, 3, 5, 7, 9})