Make your own free website on

Visual Basic Quick References


Hide The method to make a form disappear but remain active in the memory. The format is  form1.hide
Height Denotes the height properties of a control such as a form

Example: A program that change the height of the form and the label randomly

Private Sub Command1_Click()
Dim h As Integer
Randomize Timer
h = 5000 * Rnd + 2000
Form1.Height = h
Label1.Height = 500 * Rnd + 200
End Sub






  [Back to VB Guide]