Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Class keeps switching base class upon compile
Message
 
To
13/02/2003 18:47:40
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00752241
Message ID:
00752993
Views:
26
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform