Chapter 14. Managing Windows Forms and Controls at Run Time

After completing this chapter, you will be able to:

  • Add new forms to a program and switch between multiple forms.

  • Change the position of a form on the Windows desktop.

  • Add controls to a form at run time.

  • Change the alignment of objects within a form at run time.

  • Use the Project Designer to specify the startup form.

In this chapter, you'll learn how to add additional forms to an application to handle input, output, and special messages. You'll also learn how to use the Me and My.Forms objects to switch between forms, how to use the DesktopBounds property to resize a form, how to add Toolbox controls to a form at run time, how to change the alignment of objects within a form, and how to specify ...

Get Microsoft® Visual Basic® 2008 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.