chpicker
Programmer
- Apr 10, 2001
- 1,316
Ok, here's a weird one for you. Is there any way to return a value from a modal form that is instantiated from the CreateObject() command? I took a modal form that returns a value such as:
do form getvalue with nParam1 to nRtnValue
I created a class definition out of it which I then instantiate with:
oGetValue=CreateObject("GetValue",nParam1)
oGetValue.Show()
At this point, the modal form takes over until it closes. The Unload event returns a value...but where would that value be found? Or will I have to use a local variable defined in the calling program to pull this off?
do form getvalue with nParam1 to nRtnValue
I created a class definition out of it which I then instantiate with:
oGetValue=CreateObject("GetValue",nParam1)
oGetValue.Show()
At this point, the modal form takes over until it closes. The Unload event returns a value...but where would that value be found? Or will I have to use a local variable defined in the calling program to pull this off?