kamarihemingway9109 kamarihemingway9109
  • 20-01-2020
  • Computers and Technology
contestada

Which of the following statements selects the "blue" item, which appears fourth in the lstColor control?a. lstColor.SlectIndex = 3b. lstColor.SlectIndex = 4d. lstColor.SlectItem = 3e. lstColor.SlectIitem = 4

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 21-01-2020

Answer:

a. lstColor.SlectIndex = 3

Explanation:

Listbox uses index to represent items.

The index starts its count from 0. Meaning that, the first item has an index of 0, the second has an index of 1 and so on.

From the question, the said color is the 4th in the list; going by the simple analysis stated above, it's index is 4-1 = 3.

The syntax for that is

listboxname.Selectedindex = index

i.e.

lstColor.SelectIndex = 3.

Answer Link

Otras preguntas

in a total of $580,800 last year. If they served an average of 200 customers each day over the 363 days that the deli was open, what was the average amount that
what are the common types of fungi in the rainforest?
solve the inequality
Which is the best example of the commercialization of modern sports? A school team plays a rival school at baseball. A local soccer club makes it to the region
How did French commoners respond to the bread shortage?
what is 12,925 rounded to the nearest ten thousand
what is 4 3/4 divided by 2 equal?
Based on the name, which substance is a covalent compound?
how are atoms grouped on the periodic table
3^3 • 3^2• 3^1• 3^0 • 3 ^ -1 • 3 ^ -2=