Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collection_Access
Message
From
24/07/2003 02:08:51
Matthias Will
BiCON Systemtechnik GmbH
Karlsruhe, Germany
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00812934
Message ID:
00813014
Views:
8
Hello Hugo,

thanks for your reply. But it doesn't adress my problem. My problem is not the access of items of the collection, but access to the entire collection. Let's say I've got an object with a collection in its property. Well - I am working with it to get an item like Object.Collection(1). Now I realize, that in different situations I need another collection. Normally I solve this by an Access-method which returns the proper collection-object and looks to the user as if he is working with the original object. But in case of a collection this breaks my code accessing it because Object.Collection(1) is not working anymore and I need to use Object.Collection.Item(1). You may recommend a text-search and replace to Object.Collection.Item(1) (what I did now), but if other programmers use components of mine, the problem raises again...

Regards
Matthias
Previous
Reply
Map
View

Click here to load this message in the networking platform