Don,
Donspageframe should be defined with PageCount = 0. If you have pages defined in the class you can not rename them in the instance of the class, you can't reorder the pages at design time either. Having PageCount = 0 alleviates the problem.
The pgf already has a Resize event, so you can setup this method in Donspageframe:
for each loPage in this.Pages
oResizeHandler.Resize( loPage )
endfor
to delegate the actual resizing work to an object that knows how to resize the appropriate controls. On a side note IMHO only editbox, listbox, grid and pageframe should resize.
>I could use some help with resizing container objects such as a pageframe. Suppose I subclass the foundation classes and create my own version of the pageframe. ie Donspageframe. Then I add init code in each of the 2 default pages to resize them upon startup.
>
>thisform.resizeobject(this)
>
>This works just fine if the pageframe has only 2 pages, but in the application it will have more. The additional pages do not inherit the code I added to the default 2 pages. There does not seem to be a way to edit the default pages that make up the pageframe beyond the first 2.