>I have code that removes and adds pages from a pageframe as needed, but I want to do something different. I want the pages to exist but just be invisible and not accessible by the user. This is because I have code in the pages that I call from page1 and I want that code to run even if the user doesn't access or need to see the other pages. Granted, the code could be moved but I would prefer to leave the code as is but just make the additional pages invisible if possible. For some users the pages will be visible and accessible, but others they should only see 1 page tab. Anyone seen anything like that? Right now I have the other pages enabled = .F. when the user doesn't want to use them, but I would like them to be hidden, but not removed. I don't want to remove them, nor do I want to remove the tab for the 1st page nor do I want to stretch the tab all the way across when the other pages are not there.
Page doesn't even have a .visible property, and its position is determined by the pageframe - i.e. it doesn't even have a .top, .left etc.
So... your option is to simulate pageframe with a tabstrip and overlapping containers. They can be visible or not any way you like.