Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collection Object
Message
 
To
06/10/1999 22:43:20
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00273466
Message ID:
00273507
Views:
23
Well, the first question is, how do you add an array as an object? Arrays won't respond to an object model such as,

MyContainer.MyArray(1).Click()

Collection objects are the way to go with this. I just don't know if VFP has the capability to create custom ones. I know there's a Files collection object and an application Objects collection object. But there doesn't seem to be a custom collection object.

If there was a way to create arrays of a objects, that would work too. But VFP wants unique object names as far as I can tell.


Looking forward to a solution.... (VB??)

Scott


>
>Scott,
>
>I've been wrestling with this as well. Couldn't one just add an array as an object in the Container? Then all you'd need to do is wrap it with the appropriate methods to add/delete/change the various elements?
>
>I'll be watching Paul's (and hopefully some others) answers with interest. *G*
>
>Best,
Scott A. Keen
MCP

"I'm not in denial. It's just not my fault."

"So long and thanks for all the fish."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform