Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another Collection class question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00785535
Message ID:
00785615
Vues:
12
>Where does the clearing of items in a collection occur? See code sample:
>
>oCol=createobject('clsCollection')
>oCol.Add(createobject('form'))
>?oCol.Count && 1
>
>define class clsCollection as collection
>   procedure destroy
>      ? this.count && 0!!!
>   endproc
>enddefine
>
When I run that code in VFP8, the Destroy method prints out 1, rather than 0, as you seem to indicate above.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform