Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a createobject('modalformclass')
Message
From
30/08/2000 13:54:17
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00410770
Message ID:
00410894
Views:
20
>Cool. Thanks Ko and Trey (once again, eh?)
>
>Now there in one less parameter I have to pass (cVar).
>
>I put a This.Show(1) in the class' init()... is putting it in the calling routine better?
>
>
>- Brian
>
>

Brian,

The other thing you can do is:
Do Form MyForm With Parameters.. To myVariable

And in the unload method return the value that you want. This will be contained in myVariable once the form is unloaded.

But some people prefer the CreateObject() syntax, your choice.
Previous
Reply
Map
View

Click here to load this message in the networking platform