Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create collections?
Message
From
05/03/1998 11:25:49
 
 
To
05/03/1998 10:13:06
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00082693
Message ID:
00082707
Views:
27
>I want to create an object and need this object keep an array of other objects. How can I do it?
>
>I mean, how to create a behavior similar to that in pageframes, containers, forms or so, that keeps a collection of objects inside a single object? Even more, how could it keep track of the number of elements?

Use property-array and ALEN(thisform.amyarray) will return the number of elements. Any time you add/remove new member, you will redimension this array.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform