Visual Basic Event Coding Flashcards (10 cards)

All cards

1Question

What color does an object's BackColor display?

Answer

Its background color.

2Question

What color does an object's ForeColor display?

Answer

Its text color.

3Question

What is a PictureBox object used to display?

Answer

A graphic image.

4Question

How do you display an image in a PictureBox?

Answer

Import the image into Resources and specify it for the PictureBox.

5Question

What happens when a PictureBox object's Visible property is set to False?

Answer

The PictureBox is hidden.

6Question

What happens to Visual Basic instructions when a program runs?

Answer

They are translated into instructions the computer can execute.

7Question

What does an event handler do when a user action triggers an event?

Answer

It executes code to perform the required processing.

8Question

How do you hide a PictureBox using the Properties window?

Answer

Select it, open the Visible property's value list, and choose False.

9Question

How do you start a program in Visual Studio 2017?

Answer

Point to and select the Start Debugging button on the Standard toolbar.

10Question

How do you create a button event handler in Visual Studio 2017?

Answer

With the Design tab visible, double-click or double-tap the button on the Windows Form.

Test yourself with the quiz

Answer 11 questions on Visual Basic Event Coding.

1. A button has a blue background and black lettering. Which property controls the blue area behind the lettering?

2. A developer wants a Windows Form's background to be white. Which sequence uses the form's color picker as described?

Take the quiz →

Read the study guide

Go over the full study guide for Visual Basic Event Coding.

Read the study guide →

Related classes

Make your own flashcards

Upload your class notes and Revizly writes your flashcards in about a minute.

Flashcard maker