Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value
Message
From
30/01/1999 10:26:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Returning a value
Miscellaneous
Thread ID:
00182149
Message ID:
00182149
Views:
42
How do I return a value from a visual class. I have created a class based on a form. The form is Modal. In the Unload event of the form I placed return This.cRetVal.

In the calling program, I have:

oObject = createobject("MyObject")
cRetVal = oObject.Show()

cRetVal is always .F. when returning.

What am I doing wrong?
Thanks,
Dan Jurden
djurden@outlook.com
Next
Reply
Map
View

Click here to load this message in the networking platform