Hi, I need design a window which contains forms such as I can access to them by a tab as some text editors. I have put a MULTIPAGE control on a form. Is is similar to a TABSTRIP control. My idea is that each Multipage's page contains a form.
In order to add a new tab or page it would be:
Dim Newpage as page
Set Newpage = Multipage1.pages.Add(...)
If I create a form as model for others forms, it could be:
Dim NewForm as From1
Then, I think, can create an instance of the form doing:
Set NewForm = Newpage.controls.Add(...)
But, it not works, specially as it is necessary a identifier variable of object type (Look at the MSDN help: Add (method))
Has anyone an idea about this? What can I do?
Thanks,
Cris
In order to add a new tab or page it would be:
Dim Newpage as page
Set Newpage = Multipage1.pages.Add(...)
If I create a form as model for others forms, it could be:
Dim NewForm as From1
Then, I think, can create an instance of the form doing:
Set NewForm = Newpage.controls.Add(...)
But, it not works, specially as it is necessary a identifier variable of object type (Look at the MSDN help: Add (method))
Has anyone an idea about this? What can I do?
Thanks,
Cris