Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add forms to a multipage control?

Status
Not open for further replies.

cristin

Technical User
Sep 17, 2001
12
ES
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top