Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you add an array as a form property?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00418456
Message ID:
00418460
Vues:
20
>I'm sure there is some embarrassingly simple thing I am overlooking about this, but...
>
> When adding a property to a form (Form -> New property), I am only allowed to specifiy the name. If I want to create an array as the property and try to initialize the array in the init method, I get the error "...property is not an array". So, how do you create such a variable? Of course I could always make a public variable...
>
>Thanks,
Pat,

When you enter the name, also enter the intended dimensions. For example, myarray[1]. You may then re-dimension it where and when necessary.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform