ListBox.SelectItem

ListBox.SelectItem ( 

string ObjectName,

number Index )

Description

Selects an item in a specific listbox object.

Parameters

ObjectName

(string) The name of the listbox object.

Index

(number) The item to select in the listbox object. If the object has "multiple selection" enabled, you can use -1 (or LB_ALLITEMS) to select all items in the list.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions