>Hello Bruno.
>
>
I created a pageframe class and named it xpgf. The pageframe has a pagecount of 0
>I created a page class and named it xPage
>
>Within init method of a form, I do the following:
>
>thisform.AddObject('PageFrame1','xPgf')
>thisform.pageFrame1.AddObject('TestPage1','xPage')
>thisform.pageFrame1.AddObject('TestPage2','xPage')
>thisform.PageFrame1.Visible=.T.>
>What happens if you add this line of code:
>
>Thisform.PageFrame1.ActivePage = 1
Hello Marcia,
It works! Thanks a million!
Bruno
Bruno Di Lalla
Consultant
BDL Computer Consulting