SelectItemByIndex

Syntax

long SelectItemByIndex(int index)

Description

Select a list item from the combo box by its index.

Parameters

index
Integer value specifying the index of the item within the combo box. Note that index numbering begins with 1.

Return Value

Return 0 if the call is successful; otherwise, -1.