Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you pass an array to a form?
Message
De
05/08/1998 15:58:03
John Baird
Coatesville, Pennsylvanie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00124072
Message ID:
00124249
Vues:
21
>>Jerry,
>>
>>You'll have to copy the array to a form property in Init() but there isn't a very good way to copy the result back.
>>
>>On my website is a article using an interface object to pass multiple items to a form.
>>
>>You could also put the array in a temp cursor, bind the form controls to the cursor and select fromt he cursor back to the array.
>>
>>>My problem is that I can't seen a reference to the passed in array in the form except in the form's INIT().
>>>
>>>After I pass in the array, how can I get to it from another object or method in that form?
>
>you could also create the form as an object and make the array a property


I ended up using a parameter object to pass the definitions around. Works great.....
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform