Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting results from form created with CREATEOBJECT()
Message
From
08/08/1999 17:29:07
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00251295
Message ID:
00251298
Views:
7
Hi Marcus,

>I've created a form class that basically asks the user to confirm an action by having them type in a given word and clicking OK or pressing enter. I know I can pass a parameter back to the calling form by using DO FORM myForm TO myVariable, but how do I accomplish this using a oMyobject=CREATEOBJECT('myForm') to instantiate? Should I just create a form and use DO FORM for this? Thanks for sharing your experience.

You could try something like this:
oForm=NEWOBJECT('myForm', 'myClass')
oReturn=oForm.SomeMethod() &&SomeMethod shoulf have This.Show() in it
I don't have any of the Docs with me, but you might also try passing a variable reference.
Previous
Reply
Map
View

Click here to load this message in the networking platform