Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

29. What does the VB statement below do? TextBox1.text = 4
Options
A Displays Text inside the forth textbox
B Assigns 1 to the forth textbox on the form
C Displays 4 in textbox1
Correct Answer
D Changes the name of the textbox control to 4
Correct Answer

Option C is the correct answer.

Detailed Explanation

It sets the Text property of TextBox1 to '4', displaying 4 in that textbox.

Hint

It puts '4' into TextBox1.

Question Info