This sounds better than creating them all ahead of time. It's more work to program, but won't put a limit on the number of trips.
Thanks,
-Michelle
>The short answer is that you can't. You can, however, create a page class in a prg file and use that to add pages to your pageframe.
>
>
>* MyPages.prg
>DEFINE CLASS MyPage AS Page
> PROCEDURE Activate
> * Put your code here
>
> ENDPROC
>ENDDEFINE
>
>
>Then when you want to add pages to a pagefraem at runtime you can;
>
>
>IF NOT "MyPages.prg" $ SET("PROCEDURE")
> SET PROCEDURE TO MyPages.prg ADDITIVE
>ENDIF
>THISFORM.PageFrame1.AddObject("PageName","MyPage")
>