0% found this document useful (0 votes)
35 views

Lesson Pascal If Statement

This document outlines a grade 10 lesson plan on using the message box function in Visual Basic programming. It includes objectives of defining message boxes, their arguments, and applying them in programs. Students will recreate a sample program, learn to debug, and discuss the different message box formats. They will be evaluated on debugging skills and by creating programs that use message boxes with different arguments and buttons to display information and messages on form close.

Uploaded by

Marius Palafox
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Lesson Pascal If Statement

This document outlines a grade 10 lesson plan on using the message box function in Visual Basic programming. It includes objectives of defining message boxes, their arguments, and applying them in programs. Students will recreate a sample program, learn to debug, and discuss the different message box formats. They will be evaluated on debugging skills and by creating programs that use message boxes with different arguments and buttons to display information and messages on form close.

Uploaded by

Marius Palafox
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

GRADE 10 (Visual Basic Programming)

I. OBJECTIVES

 Define what is a Messagebox


 Identify the different arguments of the Messagebox
 Apply messagebox function to programs

II. SUBJECT MATTER: The MessageBox Function

Reference: Visual Basic 6.0 (Abiva Publishing)

Materials: Computer, Chalk, Board, Projector, Internet

III. PROCEDURE:

Motivation: How are dialog boxes like the Save As box in different window applications are
made?

1. Create a sample program and email it to the students. Let them re-create the program. Make
sure the program is in picture-format so as to avoid Copy-Pasting works.
2. Assist the students in debugging the program.
3. Discuss how a messagebox is made and how many formats can be created using different
arguments.

Generalization: The MsgBox function is a Visual Basic function the main use of which is to display
information to the user. It creates a message box, a window-based text displayed on the screen
allowing the user to understand the nature and flow of the program.

IV. EVALUATION:

1. Test the students for their debugging skills using the emailed activity.
2. Create a program that contain 5 commandbuttons. The 4 buttons, when clicked will show 4
messageboxes containing different arguments and buttons. The 5th button will be for exit.
3. Create a program that will create an addition calculator. It will showcase a messagebox that
will appear once the form is closed.

Programs created on these activities will also tackle skills previously learned in the preceding lessons.

You might also like