Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems accessing the Project Files Collection
Message
From
24/11/1999 19:37:44
 
 
To
24/11/1999 19:34:35
Eric Wolfe
Health Management Technologies
Lafayette, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00295359
Message ID:
00295414
Views:
25
>Okay, I figured that the Project Files collection wasn't VFP because I thought VFP didn't have collections. How do you create a VFP Collection?

VFP does have collections. _SCREEN.Forms, Form.Controls, Pageframe.Pages, Grid.Columns, etc are all collections. You can't create your own, but you can come darn close by creating an array property and giving it an Access method that returns an object with a given name if the array index passed is character.

MyForm.MyCustomCollection("ObjectName").Click()
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform