ComboBox.SetItemData

ComboBox.SetItemData ( 

string ObjectName,

number Index,

string Data )

Description

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

Parameters

ObjectName

(string) The name of the combobox object.

Index

(number) The index (line number) whose item data you want to set. 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