Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error changing member class of a pageframe
Message
From
01/10/2004 04:39:22
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00947780
Message ID:
00947843
Views:
13
Sergey,

Good to hear from you. I guess I'm not being very clear here - I did change the memberclass to _Page, classlibrary MyLib, so where it used to be _Pages1.Page1 it now is _Pages1._Page1.

Apart from changing references in code all over the place, it also errors out with the above. A shape on Page1 no longer knows where it belongs.


>Peter,
>
>Take a look at the MemberClass and MemberClassLibrary properties.
>
>>In VFP8 we got the page class. Great, only, the pageframe class still comes with it's base Page class.
>>
>>Subclassing Pages to _Pages, removing Page1 and adding the subclassed Page _page, predictably produces all kinds of problems in exisiting forms.
>>
>>Most annoying is the "Error loading file - record number ... or one of it's members. PARENT : Unknown member PAGE1".
>>
>>So, I guess the question is: is there a safe and painless way of doing what I'm trying to do?
>>
>>Or do I have to design the form from scratch?
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Reply
Map
View

Click here to load this message in the networking platform