80 likes | 173 Vues
Learn how to design graphical user interfaces using Visual Basic objects like forms, text boxes, command buttons, labels, and picture boxes. Walkthroughs and examples included!
E N D
Chapter 3(Section 3.1) Fundamentals of Programming in Visual Basic Objects
Visual Basic OBJECTS • Forms are designed by the Visual Basic programmer and become graphical user interfaces (gui’s) for users of the program. • Controls such as boxes, buttons and labels can be placed on a form. • The toolbox contains icons that represent objects.
Text Boxes • Provide space for the user of your program to enter input. • Example • Text box walk-through, pp. 46-51
Command Buttons • Command buttons enable users to initiate a particular event • Example • Walk through pp. 51-52
Labels • Identify to user what to place in a text box. • Example • Walk through, p. 52
Picture Boxes • Used to display graphics and/or text • Example • Walk through, pp. 52-53
Lab Assignment (Lab1) Due today! • p. 56: 7-13 - on one form • pp. 56-57: 14-18 -on one form
Homework assignment (HW1) Due Next week: • Make one formfor each group of problems on pp. 56-58: • 5 • 19-23 • 25-28 • 29 • 30 • 33 • 34 (use 3 picture boxes) • 38