Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removeobject() doesn't always work
Message
De
23/11/1999 14:51:46
 
 
À
23/11/1999 14:37:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00294515
Message ID:
00294526
Vues:
24
Hi Benn,

>Why doesn't RemoveObject() remove an object?

Its not the Remove thats failing, it because your in a FOR EACH and removing objects at the same time, try:
FOR lnI = This.ControlCount TO 1 STEP -1
   IF ...
     REMOVE...
   ENDIF
ENDFOR
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform