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

Thanks.

"Sometimes you can't see the Forrest, because the trees are standing in your way"



>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
Benn Kjaer
MS Certified Professional - Visual Foxpro

"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform