SetListBoxSelection()

Example 1:

To select the first item in a Listbox object named Listbox 1, use the following syntax:

Listbox_1.SetListBoxSelection(0)

Example 2:

To clear the current selection for a Listbox object named Listbox 1, use the following syntax:

Listbox_1.SetListBoxSelection(-1)

Close