Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collections
Message
 
 
À
25/12/2001 15:38:50
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00598067
Message ID:
00598088
Vues:
23
>>How do I create a collection in VFP?
>
>As an object with an array property. It should have a this_access and this_assign method, which will somehow store the names of the objects in the array, and retrieve them by name. Thus when you mention oColl.items("shoe"), oColl_access will receive "shoe" as a parameter, and your code should find that "shoe" is the name of .items[5] and it should return items[5]. The additem method should take care of storing the names and indexes in an appropriate place.
>
>Basically, that's what I saw how collections are created in a framework.
Thanks Dragan. This gets me pointed in the right direction.
Ken Wardwell
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform