Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling another form.
Message
 
À
21/09/2000 19:12:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00419445
Message ID:
00420049
Vues:
19
Ed's solution is probably the best for your current situation, but for future reference, if you want to call a form that doesn't show, there's a NOSHOW clause for the DO FORM command.

>I am calling one form from another form. The called form is modal and runs a Private Data Session. The reason I use a form and not a .prg is the PDS. I have found that if I call a method in Init followed by RETURN .F. that the form will execute, not show and close down.
>
>The problem is that this form does not return a value to the calling form from the Unload event. If I remove the RETURN .F. from the Init,
>the form returns a value, but shows in the process.
>
>Is there another way to run a form, execute a method, NOT show the form and return a value in the Unload to the calling form?
>
>Bill Hooker
>
>p.s. I know I can use a Public variable, but I don't like that approach if there is a better way.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform