Visual InterDev
Removes an item from a Listbox or OptionGroup object.
Syntax
object.removeItem(nIndex)
Parameters
object
A Listbox or OptionGroup script object.
nIndex
An integer that specifies the item's position within the list. The index is zero-based.
Remarks
Returns True if the item was successfully removed, otherwise the method returns False.
The removeItem method is not supported by an object whose RowSource is bound to a Recordset object.