*-- yourProg.prg parameter tnShowWin private nShowWin nShowWin = iif(type('tnShowWin')='N', tnShowWin, 0) loForm=createobject('myForm') define class myForm as form ... showwindow = nShowWin ... enddefine>I wrote code to define a form.If design this form with Form Designer set ShowWindow property to 1(in top-level form).How make this in code ? (because this property is available at design time,read only at run time)