* Form1 code oretval_email = createobject("MyEmailClass") DO FORM form2 with oretval_emailIn form2 add a property named oParmObj and in the form's Init put this code ...
* Form2 Init LPARAMETERS toObj Thisform.oParmObj = toObjIn the command button's click ...
* Command BUtton click Thisform.oParmObj.property1 = "Somevalue" ...Now when form2 is released the object in fomr1 will have the values you set in the button of form2. This is using a parameter object passed to form2 from form1.