Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collection Object
Message
From
07/10/1999 23:13:37
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00273466
Message ID:
00274057
Views:
33
Nope. You add properties to an element of the array, not to the array it self. If you could add properties/methods to an array, then you could write MyArray.AProperty or MyArray.AMethod(). LIke MyArray.GetNumberOfElements(), or MyArray.MaxSize = 50.

Vlad

>You can add properties to an "array object".
>
>DIMENSION MyArray[5]
>MyArray[1] = CREATEOBJECT('Line')
>MyArray[1].AddProperty('Test',5) seems to work just fine!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform