>Hi Craig
>
>>You can use PageFrame.RemoveObject() to completely remove the page.
>
>I probably can, but I am afraid it will break some references once the page is removed.
And maybe you can't, if the pages were defined at the pageframe class level. .Removeobject() can remove only what the instance has .AddObject()ed or .NewObject()ed, not what was already defined in the class. If your baseclass pageframe is defined as having .pagecount=2, you'll have trouble removing page1 and page2 - page3 and on shouldn't be a problem (unless, of course, you play dirty and something somewhere actually says thisform.pgf.page5.ctl5.value=42, and you just insisted on removing page5, then sure it'll break).
I've had some success with returning .f. from page's init - that works but you need to know early on whether you want to show a page or not.