Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving physical location of classes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00060733
Message ID:
00060779
Vues:
28
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform