Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you pass an array to a Form Class Init method?
Message
De
13/10/1997 23:49:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00054387
Message ID:
00054401
Vues:
32
Yes, there is. Pass the array by reference, not by value. Ie:

obj = crea('frmTestClass', @aArray)

Vlad

>Anyone know how to do this?
>I can do the following
> do form frmTest with aArray
>But if I try it with a class, VFP returns error
>saying it is not an array.
> obj = crea('frmTestClass', aArray)
>Is there a way to get around?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform