Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Calling another form.
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement