forms.gif (1633 bytes)

Exclamtiub.gif (188 bytes) Forms are the windows that you build your programs on. Think of a form as a single web page page. You can link to different forms, hide them, show them, minimize them, maximize them, normalize them, change there size etc.

There are several ways to hide/close a form here are some in the greyed areas:

Form1.Visible = False

!.gif (145 bytes) Putting this code in a button will hide form1, when the button is clicked.
(By entering Form1.Visible = True you can show it again!)

Form1.Hide

!.gif (145 bytes) Putting this code in a button will hide form1, when the button is clicked.
(By entering Form1.Show   you can show it again!)

Call Unload(Form1)

!.gif (145 bytes) Putting this code in a button will close form1, when the button is clicked.
(You can show the form by using the Form1.Show)

Exclamtiub.gif (188 bytes) Unload() function unloads the object that you tell it to,
it is used to reduce the amount of bytes the program is using


!.gif (145 bytes) The active form can be refered to as "Me"

So instead of saying Form1.Show, You can say Me.Show


VB_back.gif (1347 bytes)

1999-2000 © Erik Helgesen All Rights Reserved.
Only permitted Images and Material may be downloaded from this web site. 
PhotoShop, Flash, and Microsoft Visual Basic are registered trademarks!