> &frmMyForm..Caption= thisform.tprest+ "="+ lcRemotePath >>where could I place this code to define "MyForm1" thru "MyForm9" to be maintained for the life of the session.
> FOR nVarWin= 1 TO 9 && Create View Windows > frmMyForm= "MyForm"+ALLTRIM(STR(nVarWin)) > &frmMyForm= CREATEOBJECT("Form") > &frmMyForm..Width= 550 > &frmMyForm..Show > ENDFOR >>Then I will want to control when to release the forms from a button on the main form class.
dimension frmMain.arrForms[9] FOR nVarWin= 1 TO 9 && Create View Windows frmMain.arrForms[nVarMin] = CREATEOBJECT("Form") with frmMain.arrForms[nVarMin] .Width= 550 .Show endwith ENDFORFor a better sample check solution.app for multiple instance forms.