Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing objects
Message
De
07/01/1999 12:05:25
 
 
À
06/01/1999 10:28:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00172935
Message ID:
00173606
Vues:
37
Hi guys,


I noticed something about RemoveObject. If you issue RemoveObject and AddObject (with the same name) in sequence, you'll find that AddObject fails because the object still exists :-

.RemoveObject('abc')
.AddObject('abc','cClass')

This seems to happen in VALIDs. The RemoveObject is called, but not until all the VALID code is executed, that the RemoveObject (from FORM) fires. It's like the VALID logged a message with the main VFP event handler to RO, then the VALID code finishes furst, then only the message is handled in the FORM's event loop.

I hope this can shed some light on your problem.
Kenneth.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform