Delete a string from the specified location in a list box or clear the contents of a list box.
LBDELETE dlg_id id [index]
dlg_id Specifies the identifier of the dialog box that contains the list box. id Specifies the identifier of the list box. index Specifies the index of the string to remove from the list box.
When parameter index is not specified then all the strings contained in the list box is removed.
Indexes are zero based, that is, the first string in the list box is at index 0, the second string is at index 1 and so on.