Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Thisform.aMyArray by reference
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00261669
Message ID:
00262406
Vues:
19
Roi,

This would be much easier and cleaner, pass a reference to the object instead;

DO FormB WITH Thisform

In the formB Init you can;

LPARAMETERS poForm
Thisform.oForm = poForm && oForm is a custom property of the form.

Then anywhere you like within FormB you can;

Thisform.oForm.AArray(1,2) = "ABC"

And this gives you access to all the properties of FormA within FormB
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform