Wednesday, February 25, 2009

Working with forms

Form Basics
A form is a window that contains application code and other objects placed on it to create the user interface. Forms may fill the entire screen or have other forms contained with in it.
Note that:
Visual basic initially includes a default form Form1 file in each project.You can change the name and caption of the form to identify the purpose of the form.
Every form has its own properties ,events and methods associated with it.
Here a sample form is shown, VISUAL BASIC gives default name and caption to a form as form1. It is shown in above figure.
Adjusting of height and width is shown in figure below:
Form objects are the basic building blocks of a Visual Basic application. It is actual window with which a user interacts when they run the application.
Forms have their own properties, events and methods with which you can control their appearance and behavior.

No comments: