-
Is there any way to re-use a MDI child form twice?. I mean, can I open 2 (or more) equal MDI child forms. But with different content in its controls, obviously. Otherwise, what would be the use?
What I want to do is to let the user show, e.g., the data (name, address, telephone, etc) of two or more pupils of the college using the same MDI child form I've already programmed (with all its code)
-
Code:
Private Sub ReUseForm()
Dim chldForm as MDIChildForm1
Set chldForm = New MDIChildForm1
chldForm.Show
End Sub
A very simple example, but it is indeed one that will allow you to use the same mdi child form over and over again. You'll need to give it the new data in another method, but this should get you started.
-
Thanx a lot... That was what I was looking for. Can't believe it was that easy.