I know how to create copies of objects during run-time, but how do u create copies of forms during runtime?
Thanks for reading/replying to this post....
-Justin Gomes
[email protected]
Printable View
I know how to create copies of objects during run-time, but how do u create copies of forms during runtime?
Thanks for reading/replying to this post....
-Justin Gomes
[email protected]
Not to difficult, here's how you do it. Add the following to a form with a command button clicking the command button with create a new copy of form1 and display it.
Code:Private Sub Command1_Click()
Dim frm As Form
Set frm = New Form1
frm.Caption = "Hello World"
frm.Show
End Sub