Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Existing pageframe as a basis for another form
Message
 
 
To
05/12/2016 15:03:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
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:
01644535
Views:
49
>>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)?
>
>Went down that path and I feel your pain. Knowing what trouble lies ahead, I've thought of a workaround.
>
>Just copy the whole pageframe to wherever you need it. Then delete everything from the first two pages, including code. Then copy everything, including code, from pages 3 and 4 to pages 1 and 2. Then delete pages 3 and 4.
>
>Fingers crossed, eager to hear how it went.

Hi Dragan,

I decided yesterday that it's too much trouble for a very little gain (I would have need to change lots of code anyway). So I started creating a new pageframe and just copied the mover and looked for the code to make something similar but got too tired and decided to continue this path today.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform