Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removeobject() doesn't always work
Message
De
23/11/1999 14:37:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Removeobject() doesn't always work
Divers
Thread ID:
00294515
Message ID:
00294515
Vues:
60
Why doesn't RemoveObject() remove an object?

I have some objects created from the line class. When I run the following code, not all the lineobjects are removed. Why ???

FOR EACH oLine IN This.Controls
IF UPPER(oLine.Class) = "_MYLINE"
This.RemoveObject(oLine.Name)
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)"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform