Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving physical location of classes
Message
De
17/11/1997 17:54:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00060733
Message ID:
00060787
Vues:
24
>>>I have a couple of forms based on some custom classes. When I moved the classes to a new directory I got message boxes saying Foxpro couldn't find the classes, which I then located. I thought that once you showed where the classes were located it would save that information which I found out isn't the case. I was wondereing if anyone knows what I can do to fix this.
>>>
>>>Mark A. Struck
>>
>>If you modify the class you are having a problem with and then save it again everything should work fine.
>
>Here's what you need to do when you relocate a class and then bring up the form.
>If you just bring up the form, locate the new class and then just leave the form, VFP thinks that nothing has changed and does not "save" the form definition. You need to force the form to "save" itself. You can do this easily by bringing up the form locating your classes, then pick any object on the form and move it somewhere and then back to it's original position. This will cause VFP to "think" that something changed and force the new definition to be written with your new class locations.
>
>Steve Despres

Steve,
I tried your suggestion and ended up with the same results. I don't if it matters that the class library had existed on a different drive before it was moved. I was wondering if there is a program that would expose the internals of the form itself so that maybe I can modify this myself.

Mark A. Struck
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform