Which of the following statements will remove all items from the list box?
A) lstBox.Items.RemoveAll
B) lstBox.Clear
C) lstBox.Items.Clear
D) For i As Integer = 1 to lstBox.Items.Count lstBox.Items.RemoveAt(i) Next
Correct Answer:
Verified
Q1: With a simple combo box, the list
Q3: For a list box named lstBox, the
Q4: A list that has dropped down disappears
Q5: The value of cboBox.Items(n) is the nth
Q6: Which of the following expressions refers to
Q7: In a Simple combo box, the list
Q8: The value of cboBox.Text is the currently
Q9: If no item in a combo box
Q10: The statement lstBox.Items.RemoveAt(lstBox.SelectedIndex) deletes the item currently
Q11: For a list box named lstBox, the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents