SETSELECTED

Top  Previous  Next

Syntax

SETSELECTED(win as WINDOW,id as INT,pos as INT)

Description

Sets the currently selected item in a list box or combo box control.

Parameters

win - Window or dialog containing the control.

id - Identifier of the control.

pos - Zero based string position to select.

Return value

None

Remarks

See Also: GETSELECTED

Example usage

SETSELECTED win, 17, 2