|
-
Feb 9th, 2006, 10:43 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Creating new form
Hello guys.
How do I create a new form dynamically (during runtime)?
Is it like creating a new control? Hehe.
Thanks guys!
-
Feb 9th, 2006, 10:45 AM
#2
Re: Creating new form
VB Code:
Dim fForm As Form
Set fForm = New Form1
fForm.Show
-
Feb 9th, 2006, 11:00 AM
#3
Thread Starter
Addicted Member
Re: Creating new form
Just tried and ... it just duplicates the mother form?
-
Feb 9th, 2006, 11:06 AM
#4
Re: Creating new form
 Originally Posted by bulletrick
Just tried and ... it just duplicates the mother form?
That is correct. Isn't that what you wanted?
-
Feb 9th, 2006, 11:21 AM
#5
Thread Starter
Addicted Member
Re: Creating new form
It's fine too. But can I create new forms that is not a duplicate?
-
Feb 9th, 2006, 11:35 AM
#6
Re: Creating new form
What is it about this form requires it to be created dynamically as opposed to being pre-designed?
-
Feb 9th, 2006, 11:37 AM
#7
Thread Starter
Addicted Member
Re: Creating new form
Nothing.
Just thought about it and became curious if it is possible.
-
Feb 9th, 2006, 11:47 AM
#8
-
Feb 9th, 2006, 12:04 PM
#9
Re: Creating new form
... and here is the code.
Do you still want to do it ?
-
Feb 9th, 2006, 12:15 PM
#10
Thread Starter
Addicted Member
Re: Creating new form
Thanks guys! I might use them when needed. Thanks again!
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
|