Computer Science, asked by shhshshvfgsvsg, 1 year ago

___________ method is used to delete items from a listbox.

1. remove
2. clear
3 . remove item
4. delete​

Answers

Answered by rohanraj700
1

Answer:

remove

Explanation:

Answered by franktheruler
0

Answer:

In visual Basic 6, RemoveItem method is used to delete items from the listBox.

Explanation:

For deleting an item from the list, first you have to find its position, which is index, in the list. Then you have to use the  RemoveItem method.

The syntax of the method is as follows:

        list. RemoveItem index

Here, the index  is the order of the item to be removed.

Difference between the clear method and RemoveItem method:

The clear method removes all the items from the list. On the other hand, RemoveItem method just removes particular item from the list .

 

Similar questions