CSIS 208 Assignment 1 – PROGRAMMING


Create a Visual Basic form like the one below that allows the user to press buttons to change the background and foreground colors of the textbox and update a text box. Your form should have 3buttons, 1 label, and 1 textbox. Name the initial form frmAssignment_1 and put Assignment #1 in its title bar.

1. Name the buttons btnUpdateFont, btnUpdateVerse, btnVerify. The tab order of the buttons should be Update Verse, Update Font, and Update Verify.  The tab should not go to the textbox.  The form should open with the Update Verse button having the focus.
2. Create access keys for the buttons with the “U” underlined for the Update Verse and the F underlined for the Update Font buttons.  Create an access key for the “V” underlined on the Verify button.
3. Name the textbox txtVerse and enter into it the Bible verse from Phil 4:13 as depicted below. The font of the textbox should be something other than the default Microsoft Sans Serif.  The text should be center aligned.
4. When the user clicks the Update Font Button, the background of the textbox should become blue (use Color.Blue), the foreground of the textbox should become red (use Color.Red) and the Background color of the form should become whte (use color.white)
5. When the user clicks the Update verse button, Your favorite verse should be displayed in the txtverse text box.
6. A label should be created called lblVerify.  The label should be created but not show on the load.
7. When the user clicks the Verify button the label text should now be visible to the user.  The label should include your name and your teacher name and the date you finished your project..  **This is a main requirement and the assignment will not be accepted without this detail.

Here’s the SOLUTION

This entry was posted in Homework Help. Bookmark the permalink.

Comments are closed.