Visual Basic Event Coding

From the study guide

Course Outline

  1. Object Background and Text Colors
  2. PictureBox Images and Sizing
  3. Visible and Enabled Properties
  4. Running a Visual Basic Program
  5. Event Handlers and Visual Basic Syntax
  6. Statements and IntelliSense
  7. Comments and Error Correction
  8. Procedures and Program Output
  9. Event Planning and Coding Phase

1. Object Background and Text Colors

Key Concepts & Definitions

  • BackColor: the color displayed in its background
  • ForeColor: the color displayed in its text

Essential Points

  • πŸ”„ To set the form's background color to white:
    1. Select the Windows Form.
    2. Display the BackColor property in the Properties window and open its color list.
    3. Select the Web tab.
    4. Choose White.

Memory Hook

BackColor colors the background; ForeColor colors the text.

2. PictureBox Images and Sizing

Key Concepts & Definitions

  • PictureBox: used to display a graphic image
Read the full study guide β†’

Practice quiz preview

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?

3. A program needs a control whose purpose is to show a graphic image. Which object is designed for that purpose?

Take the quiz (11 questions) β†’

Flashcard preview

What color does an object's BackColor display?

Its background color.

What color does an object's ForeColor display?

Its text color.

What is a PictureBox object used to display?

A graphic image.

How do you display an image in a PictureBox?

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

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

The PictureBox is hidden.

What happens to Visual Basic instructions when a program runs?

They are translated into instructions the computer can execute.

See all 10 flashcards β†’

Frequently asked questions

What does the Visual Basic Event Coding study guide cover?

It covers the core concepts of Visual Basic Event Coding, organized by topic with the key definitions, explanations and takeaways, so it's easier to learn and remember.

Read the full study guide β†’

How many questions are in the Visual Basic Event Coding quiz?

The practice quiz has 11 multiple-choice questions, each with an explanation. Use it to check what you know and find your gaps.

Take the quiz (11 questions) β†’

How do I study Visual Basic Event Coding with flashcards?

There are 10 flashcards on Visual Basic Event Coding, with a question on the front and the answer on the back. Try to recall each answer before you flip, and let spaced repetition bring back the ones you miss.

See all 10 flashcards β†’

Related classes

Turn your own class notes into a study guide

Upload a PDF or paste your notes. Revizly writes a study guide, a practice quiz and flashcards in about a minute.