Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Designer-how to add an array?
Message
From
06/03/1998 13:54:57
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, United States
 
 
To
05/03/1998 11:55:30
Roberto Cota Rivas
Quid Estrategia Esencial de México
Monterrey, Mexico
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00082723
Message ID:
00083083
Views:
22
>Hello:
>
> This is probably a newbie question but, using the class designer, how can I add an array as a property of a class? I do add a property, but then I try to dimension it as an array using
>
>dimension this.prop[2]
>
>in the class's Init method
>
>But I get the message: "prop is not an array" or something like that. Is there any way to declare a property as an array using the class designer?
>
>Thank you,
>Roberto

Roberto, you can do this by going into the new property option on the class menu. If you place brackets around the dimensions of the array as in the following example, it should work: property[1,1]
Ryan Hirschey
Previous
Reply
Map
View

Click here to load this message in the networking platform