Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Really release from memory ?
Message
De
25/11/1999 11:47:52
 
 
À
25/11/1999 08:18:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00295429
Message ID:
00295580
Vues:
37
>The problem is probably that you have an object instantiated that reference a class in the classlib - you can't change the classlib while an object referencing something in the classlib is active. If you have a classlib Lib1.VCX, with a subclass of a textbox called txtSub1 and a ComboBox cboSub1 in it, and a second class library Lib2.VCX containing a textbox subclass txtSub2 whose parent class is txtSub1, you can't change any classes in either Lib1 or Lib2 if something based on txtSub2 is instantiated. You can't go back and change your parents...


Ed this happens to me fairly often as well. It has nothing to do with living objects, but VFP caching the class definition.

Rock- you might try

CLEAR CLASS MyClass
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform