Mark,
You have to SET PROCEDURE TO XYZ.PRG ADDITIVE and then use the pageframe's AddObject() method to actually use your Page class. The prevents you from visually designing your PageFrame which is a huge drawback IMHO. There maybe a better way to accomplish what you are trying to do with a PageFrame subclass.
>I have created my own class that is a child of the class PAGE.
>
>Example:
>
>DEFINE CLASS newpage AS Page
> PROCEDURE Click
> [code inside Click]
> ENDPROC
>ENDDEFINE
>
>I can't figure out how to implement it into my project. I first got errors saying I couldn't put the CLASS definition inside an EVENT. So I moved it to a startup like program... this way I could run the program and then 'do report c:\test\report.scx'.
>The program runs until it gets to the ENDDEFINE then it ends.
>
>
>Why won't it run the DO command I have in the next line?