ListBoxSetItem

HC GUI programming ListBoxes ListBoxSetItem
ListBoxAppend ListBoxRemoveItem

ListBoxSetItem alistbox index choice


Command to change the item at position index of the ListBox alistbox to the text of the thing choice.

index must be an integer number index >= 0 and index < (number of choices in the ListBox).

Example:

lb=ListBox [][LB] [[The first String][S2][S3]] [][]
ListBoxSetItem lb 1 [a changed item]

Reference:

ListBoxAppend ListBoxRemoveItem