Professional Documents
Culture Documents
Given below is a form to accept the length and breadth of a rectangle and calculate
the area and perimeter.
Control
Form1
Label1
Text1
Label2
Text2
Command1
Label3
Control
Label4
Label5
Label6
Command2
Command3
Property
Caption
Caption
(Name)
Text
Caption
(Name)
Text
(Name)
Caption
Caption
Property
(Name)
BorderStyle
Caption
Caption
(Name)
BorderStyle
Caption
(Name)
Caption
(Name)
Caption
Value
Area and Perimeter
Enter the Length
TxtLength
Enter the Breadth
txtBreadth
cmdCalculate
Calculate
Area of Rectangle
Value
lblArea
1-FixedSingle
Perimeter is
lblPerimeter
1-FixedSingle
cmdClear
&Clear
cmdQuit
&Quit
End
End Sub