
There are several ways to hide/close a form here are some in the greyed areas:
|
Form1.Visible = False |
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 |
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) |
Putting this code in a button will
close form1, when the button is clicked.
(You can show the form by using the Form1.Show)
Unload() function
unloads the object that you tell it to,
it is used to reduce the amount of
bytes the program is using
The active form can be refered to as "Me"
So instead of saying Form1.Show, You can say Me.Show
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!