|
-
Oct 23rd, 2002, 04:17 PM
#1
Thread Starter
Addicted Member
Hiding, showing, and unloading a form?
I'm new to VB.Net and I have to make a Lucky 7 program that I already did in VB.
But it doesn't seem to like [frmForm.Show] & [frmForm.Hide] &[Unload frmForm].
Thanks in advance.
-
Oct 23rd, 2002, 04:24 PM
#2
PowerPoster
To show a form:
Dim f as New frmForm()
f.show()
To unload a form:
f.Close()
-
Oct 23rd, 2002, 04:26 PM
#3
Hyperactive Member
Dim F As New Form1()
F.Show
F.Close
To Late ohh well
-
Oct 23rd, 2002, 04:42 PM
#4
PowerPoster
Don't you hate that...lol.
-
Oct 23rd, 2002, 06:25 PM
#5
Sleep mode
declaring your variables in a module is the easiest way ! then you can code just like vb6 without need for declaring your forms variables
-
Oct 24th, 2002, 09:59 AM
#6
Thread Starter
Addicted Member
What about hiding a form? Aren't there both hiding/showing and loading/unloading a form?
-
Oct 24th, 2002, 10:03 AM
#7
Sleep mode
-
Oct 24th, 2002, 10:24 AM
#8
Thread Starter
Addicted Member
There are only Show and Close?
For both hiding/showing and loading/unloading?
-
Oct 24th, 2002, 12:07 PM
#9
PowerPoster
Try the visible property. Set it to true to make it visible, and false to make it invisible.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|