Hello Steve.
Glad to hear someone from San Diego
I have been there in La Joalla a life ago , in 1988
You are very fare away from true in your try.
First of all page class can not live alon and can be part only
of pageframe
PageFrame is also should be on some form.
Sure you can do something like this
pgfr=createobject('pageframe')
set classlib to page.vcx
pgfr.addobject('yourpageclassname')
But this pageframe will never work alone.
So , what you have to do
Make some form
Put pageframe on it
Add pages to it from your class
You also can do it by code in the form init
This.addobject('pageframe1','pageframe')
set classlib to page
this.pageframe.addobject('page2','yourclasspagename')
this.pageframe1.page2.visible=.t.
Best wishes from Russia, Vladimir
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.