Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collections
Message
 
 
To
25/12/2001 15:38:50
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00598067
Message ID:
00598088
Views:
22
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform