Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding array of objects using class designer?
Message
From
01/03/1999 09:23:25
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00192616
Message ID:
00192619
Views:
18
Hi Mike ---

It's simple, really. Just add a new property in the designer and include the dimensions, as in cCntList[10]...now I don't think you're going to be able to directly store the objects in the collection (array), but you can store references to them.

>Near the end of Chapter 3 of the Developers Guide (object-oriented programming) there are examples of creating a class with an Array of Members and then an example of an Array of Objects.
>
>Can anyone explain how ( or point me to an example) to add an array of objects to a class using the class designer.
>
>I'm using VFP 5 and trying to create a container class which holds an array of containers
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform