ListBox.SelectItem

ListBox.SelectItem ( 

string ObjectName,

number Index )

Example 1

ListBox.SelectItem("ListBox1", 4);

Selects the fourth item in the "ListBox1" listbox object.

Example 2

ListBox.SelectItem("PictureShow", -1);

Selects all items in the "PictureShow" listbox object.

Example 3

ListBox.SelectItem("PictureShow", LB_ALLITEMS);

Selects all items in the "PictureShow" listbox object.

See also:  Related Actions