Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error changing member class of a pageframe
Message
De
01/10/2004 04:39:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00947780
Message ID:
00947843
Vues:
14
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform