Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array as a property??
Message
 
À
08/11/2001 09:17:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00579023
Message ID:
00579033
Vues:
18
Two ways of doing this:

1) add an array property during design by simply naming the array aMyArray[1,2] - during run time just treat like a regulary array by dimensioning it to whatever size you need to. The only difference is that you would reference it as so; ThisForm.aMyArray[1,1]

2) add the array during runtime with ThisForm.AddProperty("aMyArray[1,2]", .F.)

Good luck!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform