Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass a private array to a form for manipulation
Message
De
15/12/2003 10:36:57
 
 
À
15/12/2003 10:29:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00859112
Message ID:
00859116
Vues:
14
>How to pass an private array to a form for manipulation and get the manipulated array back?
>
>One way would be to pass the name of the array. Another way a wrapper procedure calls the form, so the form knows the name of the array. Is there a neater way?
>
>TIA,
>
>Alex
You can only 'return' stuff from a modal form. I think 7 allows you to return arrays, but it is kinda of flaky.

The best bet is to pass an object with an array property in it. This won't require a 'return' since objects are passed by reference.

Or, your form could have an array property in it, you could copy the array to the forms array proerty, then copy it out.

You could also just create a private array variable, call the modal form which would have access to the private variable.

Lot's of options.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform