Which two controls combined to form the ComboBox control?

  1. ListBox and TextBox

  2. ListBox and InputBox

  3. ListBox and MsgBox

  4. Label and TextBox

  5. Label and InputBox


Correct Option: A
Explanation:

To solve this question, the user needs to be familiar with the concept of controls in graphical user interfaces (GUI) and the specific controls mentioned in the options.

The ComboBox control is a GUI control that allows users to select an option from a drop-down list or enter a custom value. It combines the functionality of a ListBox control and a TextBox control.

Now, let's go through each option and explain why it is right or wrong:

A. ListBox and TextBox: This option is correct. The ComboBox control combines the functionality of a ListBox, which displays a list of options, and a TextBox, which allows users to enter custom values.

B. ListBox and InputBox: This option is incorrect. The InputBox control is not used in combination with the ListBox control to form a ComboBox.

C. ListBox and MsgBox: This option is incorrect. The MsgBox control is used to display a message box with a message and buttons, and it is not used in combination with the ListBox control to form a ComboBox.

D. Label and TextBox: This option is incorrect. The Label control is used to display text and is not used in combination with the TextBox control to form a ComboBox.

E. Label and InputBox: This option is incorrect. The Label control is used to display text and is not used in combination with the InputBox control to form a ComboBox.

The Answer is: A. ListBox and TextBox

Find more quizzes: