Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Existing pageframe as a basis for another form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01644470
Message ID:
01644474
Views:
47
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform