Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a createobject('modalformclass')
Message
From
30/08/2000 11:20:16
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00410770
Message ID:
00410796
Views:
11
>So...
>
>Instead of ThisForm.Release when the user oks or cancels the custom class, issue ThisForm.Hide()
>
>Then in the calling method:
>*** From a custom method in Form A
> cVar = ''
> loFrmRV=CREATEOBJECT('frmReturnVal','frmRV',cVar,'param1','param2')

before releasing, though
cVar = loFrmReturnVal.cReturnVal

> RELEASE loFrmReturnVal
>
>interesting... I'll give it a try. Thanks.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform