> >loForm = createobject('myForm') >loForm.show(1) > >define class myForm as form > height = 480 > add object myPageFrame as myPageFrame with top =0, left = 0, width = 260, height = 460, anchor = 15 > > function init() > this.myPageFrame.Page1.newobject('myContainer', 'myContainer') > this.myPageFrame.Page1.myContainer.visible = .t. > endfunc >enddefine > >define class myContainer as container > top = 0 > left = 0 > width = 260 > height = 460 > anchor = 15 > backcolor = rgb(0, 192, 192) > add object myTopEditBox as editbox with top = 3, width = 245, height = 200, left = 5, anchor = 75 > add object myLabel as label with caption = 'This is some caption', top = 207, autosize = .t., backstyle = 0, anchor=80 > add object myBotEditBox as editbox with top = 225, width = 245, height = 200, left = 5, anchor = 30 >enddefine > >define class myPageFrame as pageframe > pagecount = 2 >enddefine >Thank you, Hugo. As I am sure you tried, your sample code works. So must be something weird in my form that caused the PageFrame to have this problem. I will not try in another window of the application.