Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an array to a form saved as a class
Message
De
26/01/1998 08:50:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Passing an array to a form saved as a class
Divers
Thread ID:
00074112
Message ID:
00074112
Vues:
81
I can dimension an array and pass it to a form using the command:
DO FORM arraytest WITH myArray
The PARAMETERS statement in arraytest.INIT event is:
PARAMETERS incomming
I can then assign the array to an array property in my form.
This approach works well. However, having saved the same form as a class, when I issue the command:
frmTest = CREATEOBJECT("arraytest","myArray")
and upon trying to assign the array to the array property, the response is: "INCOMMING IS NOT AN ARRAY".
Where did I go wrong?

Thanks

John Dennis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform