Computer Lesson 3 1st Quarter
Computer Lesson 3 1st Quarter
• RadioButton1.Visible = True
•
Which of the following statements will display the message “Welcome to Visual Basic” in a
Message Box?
Which of the following statements will display ToolTip1 for Button1 that says “Save As button”.
You can use the properties window to change the properties of an object during run time – False
The Enabled property sets the value that will indicate whether the control is displayed or not –
True
You can change the properties of a control during design time but not during run time – False
Which of the following codes will display the string “Welcome to Visual Basic!” in TextBox1?
• Button1.Enabled = True
Event – an action recognized by an object or control, example a mouse clicks or key press
The correct answer is:
This refers to the time after you click the Start Debugging button. → Run Time,
This property of a control sets the value that indicates whether the control is
displayed or not. → Visible
This property of a control restricts user access to it by preventing him from clicking it.
→ Enabled
This refers to the time spent in creating and developing the application. → Design
Time
This parameter of a TextBox echoes the message typed by the user. → Sender