Information générale
Catégorie:
Programmation Orientée Object
Titre:
How to return result from form created with CreateObject
Versions des environnements
Network:
Windows 2003 Server
I usually create forms using the form designer, and run them with the DO FORM command. So, I am familiar with passing arguments into the form via that command, and obtaining results from the form:
When I use the DO FORM command, the form returns its result from the Unload method: "RETURN thisform.Result"
However, I have recently created a form class that I want to instantiate and run via CreateObject(). I know that I can pass parameters into the form in the arguments in the call to CreateObject(). But, how do I get a result back from the 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