Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a class form
Message
 
To
09/11/2001 16:27:48
Dave Macfarlane
Condo Navigator Ltd.
Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00579966
Message ID:
00580002
Views:
27
>If I substantiate a form as:
> oCalendar = NEWOBJECT('frmCalendar','Misc.vcx')
>
>Then Initiatialize it and pass parameter EMPTY(dbirthdate):
> oCalendar.Init(dBirthdate)
>
>Then Show the form:
> dBirthdate = oCalendar.Show()
>
>The RETURN in the form classes UNLOAD doesn't get returned to dBirthdate. Is there another way to amend the value of dBirthdate, obviously my SHOW() syntax is incorrect.

You could just set a property on the object, HIDE it, and get at it in your code... then destroy the object.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform