Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Class keeps switching base class upon compile
Message
 
À
13/02/2003 18:47:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00752241
Message ID:
00752993
Vues:
17
>You have two classes with the same name in two different classlibs.
>When you try to compile, VFP tries to locate the classlib. And it could be locating the wrong one.
>

And only intermittantly of which it should be absolutely never. The purpose of the ClassLoc field in the VCX is to state this is the parent....EXACTLY, not almost or most of the time and by the way it is ok to use another class of the same name in another VCX in the same folder if you want to sometimes compiler.

>You can try to rename the class (the wrong one), even temporarily.
>

Actually I can't because this is the first form that is being migrated into new framework. The rest of the forms are in production.

I could rename the new but that would screw up the future.

I was hoping that I would learn something I was missing here but it looks like I am dealing with a bug that has been here since 6.0 and will have to change something on my end (Folder, parent name as you stated) report the bug and wait for the fix.
What ben makes tracks for what wil be. Words in the air pirnt foot steps on the groun for us to put our feet in to.

Riddley Walker
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform