Syntax
xBool ListBoxSetData( ListBox *listBox, int position, const char *data );
Arguments
listBox the list box.
position the one-based position of an existing item.
data the associated string to copy, or NULL to clear the data.
Return value
T on success, or F if the object is NULL or position is outside the item list.
Description
The list copies the supplied data before releasing its previous copy. The item text is managed by `ListBoxSetText()`.