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:
00419449
Vues:
18
Yes. Place form outside of screen, for example, assign Left = -1000

>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.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform