Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Class keeps switching base class upon compile
Message
De
14/02/2003 13:35:48
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00752241
Message ID:
00753350
Vues:
32
>I then opened the VCX as a table and looked at the ClassLoc field which also showed the bad class.
>
>I opened again in the CB and it was showing what I saw above. As If there were two values somewhere in the VCX.
>
>So ????????

One trick to try is to Set Classlib To OneClassLib, Set Classlib To OtherClassLib - I'm not sure of the order, should the right one come first or last - before compiling. That is, if they are in the same directory. If they're not, Set Path so the good one is in the directory that comes first.

When VFP is looking for components, it has a certain order, so if you serve them in a specific order, it should take the one you want, if only you can guess the proper order.

I've had this problem with ProMatrix - they have had this up to version 6.0b (didn't try later versions), where the immediate parent class and its parent class had the same name. VFP doesn't let you do that directly, but Class Browser allows such a rename, in a way. At some point my forms started inheriting from the grandparent instead from parent class, even though the parent class was in the same directory, and grandparent far away.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform