Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a form's property to a UDF
Message
De
29/10/2003 10:02:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00844074
Message ID:
00844075
Vues:
18
>=ACOPY(thisform.myproperty, laarray)
>=myfunction(@laarray)
>=ACOPY(laarray, thisform.myproperty)
>
>but I'm asking myself if this is the right way to do the job and if there are other way to have this done.
>Thanks
>
>Franco

IMNSHO, this is the best way to do this. Just don't forget to redim the array property if necessary, as the program could have changed the array size.

The other way to do this would be to pass in a reference to the form itself, but then the program wouldn't be as generic.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform