>Is there any way of getting a return value from a VCX form.
>
>I can write a wrapper for the form and return a value from that but I wondered if there was a better way.
>
>Is it possible to create an instance of a VCX based form then run it with DO FORM myform TO myreturnvalue
>
>Many Thanks
Prior to calling the form.
Create a small object that contains a property. Pass that object to the form (You will receive the object in the init method.) Store the object to a proerty of the form I.E. oRetVal
Upon exit of the form do something like THISFORM.oRetVal.lRetVal = .F.
Interogate the object upon release of the form.
What ben makes tracks for what wil be. Words in the air pirnt foot steps on the groun for us to put our feet in to.
Riddley Walker