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
>>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')
>> RELEASE loFrmReturnVal
>>
>>interesting... I'll give it a try. Thanks.
>
>Almost,
>
>loFrmRV=CREATEOBJECT('frmReturnVal','frmRV','param1','param2')
>loFrmRV.Show()
>cVar = loFrmRV.cReturnVal
>Release loFrmRV
>
>
>Hope this helps,
VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)
www.wulfsden.com