CH.2 QUIZ
What is default tab index of first object placed on a form
0 (Zero)
What keyboard shortcut is used to run the current program?
F5
Changing a controls text property also changes how you refer to the control in code [T/F]
FALSE
GUI stands for:
Graphical user interface
Mouse click is an example of an event [T/F]
TRUE
Recommended prefix for name of a button control is "btn" (T/F]
TRUE
Shortcut key like F5 (Run), allow you to perform certain tasks without use of the mouse [T/F]
TRUE
Snap lines can be used to align the bottoms, middles, and tops of controls [T/F]
TRUE
The Auto Hide feature of the Toolbox is active when the pushpin is horizontal [T/F]
TRUE
The properties window is used to change how objects look and react [T/F]
TRUE
You can display properties window by pressing F4 [T/F]
TRUE
When VB program is running, the user can move from one control to another using the keyboard by pressing...
The Tab key
Which property is available for most controls that allows you to hide/unhide them either manually by setting the property or by setting it during run time via code?
Visible
When creating a new program in VB, you're asked to supply a name for the program. If you don't specify, a default is used. What's the default?
WindowsApplication followed by a number
What statement sets the words on a button to "Push Me"?
btnButton.Text = "Push Me"
Which of the following statements specifies that the color of the text in txtBox be red?
txtBox.ForeColor = Color.Red
What would be a good name for a text box to hold a persons first name
txtFirstName
When will following even procedure be executed? Private Sub txtBox_TextChanged(...) Handles txtBox.TextChanged A) all the choices B) when text is deleted from text box C) when text is modified in text box D) when text is added to text box
All of the choices
The properties window plays an important role in development of VB programs. It's main use:
Change how objects look and feel
in VB, tooltips assist by showing a small caption about the purpose of each icon on the Toolbar. How do you make the tooltip appear?
Postion the mouse pointer over the icon for a few seconds