Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help adding object
Message
From
09/12/2002 10:36:55
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00730897
Message ID:
00730902
Views:
7
This message has been marked as the solution to the initial question of the thread.
>Hi
>
>I have created a new Visual Class Library wizstyle.vcx with some classes.
>I need to add an array (arList[1,0]) to class listfor (container).
>Exist a method ?.

You can either do it at design time by opening the Class in the CLass Browser, and adding a property to the class named arlist(1,1) - 1,0 is illegal, since VFP arrays are 1-indexed; if you simply want a 1 dimensional array, then add arlist(1).

Alternatively, you can invoke addproperty at runtime to add the array, eg:

this.AddProperty('arlist(1,1)',.f.)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform