>>Hi everybody,
>>
>>I'm developing a new VFP form. I want to pick us a pageframe from another form and use it as a basis for this new one.
>>
>>The problem is that I don't need the first 2 pages (which are part of base class) of that pageframe. I need to have a pageframe with just 2 pages both pages having a mover.
>>
>>So, first question - how can I somehow get rid of the first 2 pages I don't need (these two first pages being part of the pageframe class we're using)?
>>
>>Thanks in advance.
>
>I didn't try this, but can't you remove these pages from Init event of the PageFrame at run-time?
I probably can, but this is not the solution I'd like.
In this case I think I probably should start from an empty new pageframe and create my 2 pages instead of attempting to modify the existing one. I think the amount of required work may be the same and it's easier to start fresh.
If it's not broken, fix it until it is.
My Blog