Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making a Property of a Class into an Array
Message
De
18/12/2003 08:16:05
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
18/12/2003 08:08:42
Paul Williams
Powerful Wonders
Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00860290
Message ID:
00860296
Vues:
11
Hi
Simple, just enter
your_property[1,1]
in property name textbox, VFP will know that is an array property


>Hi all,
>
>In the Class Designer I have created a class library and some classes in it. I want to make some of the properties of each class into arrays. I tried putting a 'DIMENSION this.MyArray (200,2)' into the Init method of my classes but when I ran this it threw an error saying MyArray is not an array. The only help in MS Help I can find is for the ADDPROPERTY() function to add an array property at runtime, but surely there is a way to set a Proprty up as an array from within the Class Designer?
>
>Many thanks in advance,
>
>Paul.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform