You won't like my suggestion, but since you asked...
Rework your UI. A pageframe on a pageframe is not good UI design. It tends to be difficult for the user to navigate.
>In my base class, I have the pageframe subclassed from the standard class. On a form, I have a pageframe and on page1 I drop another pageframe onto it and in that page1 I drop another pageframe.
>(thisform.pageframe1.page1.pageframe1.page1.pageframe1....)
>
>Everything works find. However, when I select these controls and save as a class and then drop the container on a form I get an error where class definition is cyclical.
>
>I can do the same with the standard pageframe which is not in a container and everything is okay.
>
>I have re-named each pageframe, page etc. and can not seem to figure out why the placing in a container causes the error.
>
>Any suggestions would greatly be appreciated
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer