Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Collections?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00420599
Message ID:
00420617
Views:
19
>Does anyone know how to create collections of objects in Visual Foxpro? I am creating some classes (through code) and the object model I'm defining would lend itself well to using a collection. However, in scanning through the documentation, I can't seem to find any reference to creating one.
>
>Perhaps I missed it as I looked through the documentation, or maybe it's so obvious that I'm making it harder than it needs to be. However, any insights anyone has on this topic would be greatly appreciated. Thanks.
>
>John

If you look around you will find many examples of collection classes. Look in the files section here. Also, look in the codebook framework, you can download from www.leafe.com has a collection and a reference collection class.

In addition several products have collection classes... if you look at and stonefield product you will have there collection class also. Also, Visual FoxExpress has colleciton class.

Basically the class revolves around an array which holds the references. Many classes use an access method so if you use the name it will locate the correct item number.

Bob
Previous
Reply
Map
View

Click here to load this message in the networking platform