Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property Array
Message
De
24/01/2003 14:56:54
 
 
À
24/01/2003 14:49:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00745219
Message ID:
00745223
Vues:
23
When you add the property to the class, put [1] at the end of the name. For example, type:
columna[1]
or if you know what size you want:
columna[10, 1]
as the name of the property. Then, when your class initializes, you can use the DIMENSION command to size the array to whatever size you want. If you have already added the property, you will need to delete it and add it back as an array.

>How can i add property to a Custom Visual Class that supports array bahavior.
>
>for example, if i add a property Columna, i want to be able to make of this property an array, so in code i will say:
>
>this.Columna(1).Value = 0
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform