You cannot put pageframe class on the page that belongs to the pageframe from the same class. You've to subclass one of them.
>When I create an object from a class, I get the following error:
>
>Error loading file - record number 170
>Pg1 <or one of its members>. Parent: Cannot add PG1. Class definition is cyclical.
>
>
>What does this mean? I have never seen this error before.
>
>I can open the offending class in the class designer. Make changes etc.
>
>But when I try to create the object from this class...
>
>
>
>The above error appears.
>
>I just spent 2 hours creating this base form class, with a pageframe on it and numerous controls on each of the pages.
>
>Any ideas?
>Mike
--sb--