|
-
Nov 7th, 2000, 08:52 AM
#1
Thread Starter
Need-a-life Member
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)
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Nov 7th, 2000, 08:58 AM
#2
Fanatic Member
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.
-
Nov 7th, 2000, 09:52 AM
#3
Thread Starter
Need-a-life Member
Thanx a lot... That was what I was looking for. Can't believe it was that easy.
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
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
|