Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems returning a value from form
Message
From
07/12/1999 00:20:36
 
 
To
07/12/1999 00:17:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00299555
Message ID:
00299589
Views:
14
>>>>I have a value in a form that I need to return back to the calling form. However, when the UNLOAD event is fired, my value is gone. I'm missing something, what do I need to do to preserve my value to it can be "returned"
>>>>
>>>>This is what I have in the UNLOAD EVENT
>>>>
return thisform.description.value
>>>
>>>Is the form modal?
>>
>>The form is modal.
>
>Do you mean that the control no longer holds the correct value, or that the value is not returned to the calling procedure. The control has not been destroyed by Unload time, so that should not be a problem, but you can try storing itsvalue to a form property and returning the form property instead.

Woops. That is a problem- controls are gone by Unload time. Since my framework handles modal messaging for me, it's been awhile since I wrote one of these. Sorry for the misinformation.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform