Hello guys.
How do I create a new form dynamically (during runtime)?
Is it like creating a new control? Hehe. :D
Thanks guys!
Printable View
Hello guys.
How do I create a new form dynamically (during runtime)?
Is it like creating a new control? Hehe. :D
Thanks guys!
VB Code:
Dim fForm As Form Set fForm = New Form1 fForm.Show
Just tried and ... it just duplicates the mother form?
That is correct. Isn't that what you wanted?Quote:
Originally Posted by bulletrick
It's fine too. But can I create new forms that is not a duplicate?
What is it about this form requires it to be created dynamically as opposed to being pre-designed?
Nothing.
Just thought about it and became curious if it is possible.
... and here is the code.
Do you still want to do it ? ;)
Thanks guys! I might use them when needed. Thanks again! :wave: