FunBunny
09-06-2003, 10:03 PM
I need to be able to create a simple application in the MDI Environment using Collections, definitely the built-in collection forms. I have a main form, the MDI Parent, and I've created a child form, simply called Form1 with MDIChild set to 'True'. Based on what I've learned, I should be able to simple add a new form by using the command:
Forms.Add Form1
But I get a type mismatch error.
I've tried declaring a variable as a collection and setting it to Forms, but that doesn't work either.
I'm supposed to be able to create an application that will create a new form based on Form1, every time the user selects 'New' from the menu item I created. I can't even create one. Please help? Thanks.
I've attached zipped up my project, its very small, so that anybody who wants to see it can. Please let me know if this is not appropriate.
TIA
FunBunny
Forms.Add Form1
But I get a type mismatch error.
I've tried declaring a variable as a collection and setting it to Forms, but that doesn't work either.
I'm supposed to be able to create an application that will create a new form based on Form1, every time the user selects 'New' from the menu item I created. I can't even create one. Please help? Thanks.
I've attached zipped up my project, its very small, so that anybody who wants to see it can. Please let me know if this is not appropriate.
TIA
FunBunny