The SelectedItem property of a ListBox __________.

a. contains the index of the currently selected item
b. contains the text of the currently selected item
c. returns the location of the currently selected item
d. returns -1 if no item is selected


b. contains the text of the currently selected item

Computer Science & Information Technology

You might also like to view...

If a user enters a value in the text box of an editable combo box and the value is NOT in the list, what will the method getSelectedIndex return?

A) The index of the item that the user replaced B) The index of the item the user entered C) -1 D) 0, since the item is not in the list

Computer Science & Information Technology

Which computer component can be described as a printed circuit that can be inserted into a system board to add additional functionality to a PC?

A. power supply B. expansion card C. CPU socket D. com port

Computer Science & Information Technology

In each of the following examples, there are two or three visual organizational principles at work. For example, name the principles.



Computer Science & Information Technology

A(n) ________ is reserved area for text or graphics that displays at the bottom of each page of a document

Fill in the blank(s) with correct word

Computer Science & Information Technology