Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO FORM...
Message
De
28/09/2001 11:53:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00561953
Message ID:
00561958
Vues:
23
>Hi! Guess what: I got a problem! :o) Because there's no good examples on VFP Help, I would like a "full" example of the DO FORM function with words WITH, TO, LINKED, etc. In my case, my parameter list contains A and B (only B must be linked). The form called must return B and C (as I said, B was linked but here I want C value too, created in form called!) I hope it's plane to you! lol Thanx a lot

FormA calls formB:
MyValue = 5
do form FormB with MyValue to ReturnValue
ThisForm.DoSomethingWith(ReturnValue)
If you want FormB to return a value, FormB has to be modal.

FormB returns the return value in method Form.Unload(), if I remember correctly.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform