Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Designer-how to add an array?
Message
De
06/03/1998 13:54:57
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, États-Unis
 
 
À
05/03/1998 11:55:30
Roberto Cota Rivas
Quid Estrategia Esencial de México
Monterrey, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00082723
Message ID:
00083083
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform