Messenger Plus! Live - Scripting Documentation

The PlusWnd::LstBox_SetCurSel function changes the selection in a ListBoxControl.

Syntax

LstBox_SetCurSel(
    [string] ControlId
    [number] ItemIdx
);

Parameters

ControlId
[string] Unique identifier of the control.
ItemIdx
[number] Index of the item to select in the list.

Return Value

No value is returned by this function.

This function typically fails for the following reason:

Remarks

If "MultipleSel" is set to true in the List Box's attributes, this function has no effect.

Function Information

Object PlusWnd
Availability Messenger Plus! Live 4.00

See Also

PlusWnd Object, LstBox_GetCurSel.