Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get a value from a Form - Using CreateObject()
Message
De
30/05/2003 12:20:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00794566
Message ID:
00794567
Vues:
14
One way is by passing a "parameter object" to your form.

For example:
oParameter = CreateObject("Empty")
AddProperty(oParameter, "Value", .F.)

oPassword = CreateObject("fw_Password", oParameter)
oPassword.Show

if oParameter.Value
   ? "Cool"
else
   ? "Oops"
endif
So, in your fw_Password form, you should receive that object, than you populate its Value property within your form, and you're good to go.

Do you see what I mean? :)

HTH
Claudio Lassala
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform