Thanks to Cory Talbott, Southwestern student and USD 465 Techie, for the amazing presentation on Atari and the history of Video Gaming. Great detail on the programming side too....
This lesson is for the 1B Class and anyone who was NOT in the 4B class on Thursday. If you are in the 4B class scroll down to the bottom of this post.
Today, we are going to go into more detail about Visual Basic Properties. Go through the following tutorials in order. As you finish each tutorial, work through the example yourself. Save it as yourlastname_PropTutorial1, yourlastname_PropTutorial2, etc...I will check for these files upon my return.
Properties: Tutorial 1
Properties: Tutorial 2
When you complete the Tutorials...Ask your teacher for the "Find the Treasure" Assignment and have fun! Hint. For this project, the property that you will change is BackColor...Use Intellisense.
Attention 4B Students...Start Here If you have completed the "Find the Treasure" assignment from last Thursday...move ahead. Otherwise, finish the "Treasure" assignment and/or go through the above tutorials if you missed last Thursday.
4B Assignment: You are going to work on understanding "properties" a little bit more. Complete the following assignment.
Flowers Challenge: In this assignment, you will create a form to show flowers. You will write the code to cause changes to the properties of the form. First save the following images to your local computer (where you can retrieve them again).
Using these images, paint a form that looks like the following (to do so watch the below tutorial on adding images to a form):
Tutorial:
Adding Images to Forms Tutorial
Once the form is "Painted", do the following:
1. Set the visible property of the 4 pictureboxes to False. 2. Set the Border style of the 4 pictureboxes to Fixed3D. 3. Set the SizeMode property of the 4 pictureboxes to AutoSize. 4. Set the Image property of each picturebox to the corresponding image in the download folder. 5. Go to the code page. Just above the code itself are two dropdown lists. From the left dropdown list, choose label1. 6. From the right dropdown list, Choose MouseHover. 7. In the Label1.Mousehover event, set the Visible property of PictureBox1 to True. Set the Visible property of the other three boxes to false. 8. Do the same for the other three Labels, making the corresponding changes in which Pictures are visible and which are not. 9. The end result is a program that only shows one picture at a time when the mouse is held over the description.
When your program works correctly. Save it as yourlastname_Flowers and save it to the x:\4B\Flowers folder. If Flowers does not exist, will someone please create it?