Professional Documents
Culture Documents
Aim:
To study about Form Designs in Visual Basic.
Theory:
Forms are needed for creating visually pleasant, consistent and intuitive
interfaces. A form has a certain set of border style for the form, which
includes the following types:
1) None 2) Fixed single 3) Sizeable 4)Fixed Dialog 5) Fixed
tool window 6) Size able tool
The fixed dialog style offers a border and doesn’t allow a form to be resized,
but it lacks minimizing and maximizing buttons. To include these buttons
use fixed single style. Sizeable tool window and fixed tool window styles
are generally used for forms that need to float over and allow changes to be
made to the main forms. The start position of the forms has to be addressed.
1) Manual 2) Windows default 3) center screen 4) centre
owner
STEPS:
Go to the file menu and select new project.
Then in window that appears select the type of project that has to be
created
Properties of a FORM
AIM:
To create a calculator application in visual
basic that performs the basic arithmetic
operations
ALGORITHM:
1) using label, text, command design the calculator form
2) change the properties of the label, text and command as follows
a. text – name,caption,text
b. command – name, caption
3) write the number code in the number buttons with the event as click
4) write the operation code in the operation buttons with the event as
click
5) write the equal operation code in the equal operation buttons with the
event as click
CODING:
OUTPUT: