Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Return values through parameter references
Versions des environnements
Network:
Windows 2003 Server
The command DO FORM frmMyForm WITH Param1, Param2, Param3 TO lResult
passes Param1, Param2, Param3, and lResult by reference.
Param1, Param2, and Param3 are passed to the form's Init method. lResult receives a result from the form's Unload method.
I note that if I assign values to Param1, Param2, and/or Param3 in the Init method of the form, the values appear in the calling form, as you'd expect from a reference.
Is it possible to save the references Param1, Param2, and Param3 to form properties, and then use these form properties to return values to the calling form from elsewhere (other than the Init method) in the called form?
Thanks,
Jim
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