Exam 5: Menus, Common Dialog Boxes, Sub Procedures, and Function

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

If you want the user to be able to use the dialog boxes from the Windows environment so he can save files and change colors,you will need to add two common dialog components to your form,the SaveFileDialog for saving files,and the ColorDialog for changing colors.

Free
(True/False)
4.7/5
(36)
Correct Answer:
Verified

True

By default,all new menu items have their Enabled property set to True.

Free
(True/False)
4.8/5
(34)
Correct Answer:
Verified

True

When you call a sub procedure or a function procedure,you can send values,called arguments.

Free
(True/False)
4.9/5
(40)
Correct Answer:
Verified

True

An enabled menu item appears in black text and is available for selection.

(True/False)
4.9/5
(34)

Which of the following is the correct way to assign a font to a label using common dialog boxes after the statement FontDialog1.ShowDialog()has been executed?

(Multiple Choice)
4.7/5
(32)

If you click on an item in a menu that is grayed out,you will toggle it on,and it will appear in black text.

(True/False)
4.9/5
(41)

Common Dialog Boxes _______.

(Multiple Choice)
4.7/5
(34)

Which of the following is NOT true about menu items in Visual Basic?

(Multiple Choice)
4.8/5
(32)

Which of the following is NOT true about using keyboard access with a menu item?

(Multiple Choice)
4.8/5
(44)

Which property in a menu item's property window is used to change the words that will display in the menu?

(Multiple Choice)
4.8/5
(41)

A function cannot have multiple arguments.

(True/False)
4.7/5
(40)

Which of the following is NOT true about a menu item that has a check mark?

(Multiple Choice)
4.7/5
(43)

Which of the following is the method for showing common dialog boxes?

(Multiple Choice)
4.8/5
(40)

Which of the following is NOT true about passing arguments to procedures or functions?

(Multiple Choice)
4.8/5
(39)

It is possible to create procedures that are not associated with click events.

(True/False)
4.8/5
(30)

When an argument is sent ByVal,a copy of the argument's value is sent to the procedure so that the procedure cannot alter the original value.

(True/False)
4.7/5
(40)

Which of the following is not a type of common dialog box?

(Multiple Choice)
4.9/5
(33)

The default for passing arguments to function procedures and sub procedures is ByRef.

(True/False)
4.8/5
(33)

If you right-click an object,what type of menu pops up?

(Multiple Choice)
5.0/5
(43)

Assume that you are working on a VB project where you need to change the color of the text in a text box named InformationTextBox.The color is to be selected by the user of the project.Explain which CommonDialog component you need to add to your form,indicate where it appears,and write the code needed to change the color of the text box. A.Add a ColorDialog component,ColorDialog1. B.It will appear in the component tray. C.This is the code to show the dialog box: ColorDialog1.ShowDialog() This is the code to change the textbox font color - InformationTextBox.ForeColor = ColorDialog1.Color

(Essay)
4.8/5
(39)
Showing 1 - 20 of 38
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)