ListBox.SetItemData

ListBox.SetItemData ( 

string ObjectName,

number Index,

string Data )

Description

Sets the text of a listbox item's associated data.

Parameters

ObjectName

(string) The name of the listbox object.

Index

(number) The index (line number) whose item data you want to set. You can use an index of -1 to access the last item in the list.

Data

(string) The associated item data string to set.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions