Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value from form after creating form in code
Message
From
26/08/2002 09:01:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00693423
Message ID:
00693591
Views:
22
>Hilmar,
>
>Good idea. I think this may do it, assuming I use a cmdButton as the calling object.

I think you could "encapsulate" all this in a function. The function creates an object, as described earlier (or a private variable?), the form modifies the object property or the private variable, and the function, finally, returns this variable or property.

Thus, you could later issue, from any place:
MyDate = GetDate()
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform