OverviewExamples
LastSelected = DlgListBox.DeleteItem(CTRL_LIST_BOX, 3);
Removes the third item from the list box control with control id CTRL_LIST_BOX and stores the last selected line number in the variable LastSelected.
DlgListBox.DeleteItem(ControlID, -1);
Removes all items from the list box control whose ID is specified in the variable ControlID.
Note: Even though no return variable is specified, this action still functions correctly.
See also: Related Actions