thisform.visible = .f.At this point the code will continue in the calling form and you can dispose of oForm
Local oForms as form oForm=newobject('frmMyFormClass','myClassLibrary.vcx') oForm.Show(1) * oForm is modal at this point * User clicked Close button which caused "frmMyFormClass" to loose focus * Control resumes here when oform looses focus by being made invisible oForm = .null. && Force oform destroy release loform && release oForm>Why won't this form release?
>local oForm >oForm=newobject('frmMyFormClass','myClassLibrary.vcx') >oForm.show(1) >>