>If this is a pageframe custom class that has the four pages, then the short answer is no you cannot remove the pages for another instance on a different form. You can however, make the first and second pages hidden in the new form (Visible property equal False) - at run-time I am not sure if the tabs will be visible.
>
>You could copy to a new class and then remove the first two pages. You have to move the controls from page 3 and 4 to page 1 and 2 respectively and then set the pagecount to 2. An alternative is to hack the class definition and in the property field for the pageframe set the PageCount=2. Then delete the objects that have the .page1 and .page2 contained in the parent field. Then replace all .page3 with .page1 in the parent field and .page4 with .page2. Recompile the file. You will need to manually update any code that reflects page3 and page4.
Thanks, Greg. I scratched that whole idea yesterday after the first reply I got and started working on a new fresh pageframe.
If it's not broken, fix it until it is.
My Blog