Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get a value from a Form - Using CreateObject()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00794566
Message ID:
00795597
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
Hi Rodolfo,

Although u already answered, try this.

>There is no way to do in just one line? Like "Do Form xxxx To MyResult"?


* Assuming that your form will be hidden and 'this.show' is issued in form init event
m.MyReturn = EXECSCRIPT("oForm=CREATEOBJECT('MyPasswordForm')" + CHR(13) + "m.MyReturn = oForm.myProperty" + Chr(13) + "RELEASE oForm" + CHR(13) + "Return m.MyReturn")

There is another solutions combining this method with Marcia's methods.

Choose your way!
Edson Oliveira dos Santos
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform