Messenger Plus! Live - Scripting Documentation

The PlusWnd::LstBox_GetItemData function returns the data number associated with an item of a ListBoxControl.

Syntax

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

Parameters

ControlId
[string] Unique identifier of the control.
ItemIdx
[number] Index of the item which data will be retrieved.

Return Value

A number specifying the data associated with the item in parameter. The number can be anything you chose to assign to the item when adding it to the list.

This function typically fails for the following reason:

Remarks

None.

Function Information

Object PlusWnd
Availability Messenger Plus! Live 4.00

See Also

PlusWnd Object, LstBox_AddItem.