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:
00262217
Vues:
20
Hi:

>PMFJI Are you trying to access the .aMyArray from a method in the same form? If so you can access it directly within the method with ThisForm.aMyArray.

Yes, but I have five arrays that need to be passed to a method to manipulate the data. However, I don't want to hard code every array name into the method.

Thanks!

--Paul

>PMFJI Are you trying to access the .aMyArray from a method in the same form? If so you can access it directly within the method with ThisForm.aMyArray.
>
>>>Paul,
>>>
>>>You either need to ACOPY() to a regular array or pass a reference to teh fomr itself to the routine and then manipulate the array property.
>>
>>Thanks Jim! I have five arrays on my form that I need to pass to a method. My best bet is to use ACOPY.
>>
>>Thanks again!
>>
>>--Paul
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform