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

what were the Americans' attitude toward centralized government after the Revolution?
approximately _____% of the available energy is passed from organisms at one trophic level. to organisms at the next trophic level.
What is the right answer
The radius of a sphere is 3 inches. Which represents the volume of the sphere? A) 12π cubic inches B) 36π cubic inches C) 64π cubic inches D) 81π cubic inches
The treaty of Versailles
PLEASE HELP I WILL GIVE 99 POINTSAida applied the distributive property to write the equivalent expressions below. 15 + 21 = 3(4 + 8) What is Aida’s error? Aida
What is heat? I need help
A ball is moving at 7.0 m/s and has a momentum of 100 kg•m/s. What is the ball's mass?
Which set represents a pythagorean triple (1 point)?
What is the value of y