Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get a value from a Form - Using CreateObject()
Message
From
30/05/2003 12:20:20
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00794566
Message ID:
00794567
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform