local filename = "testform.frm" if filename then myForm = xfm.loadfromresource(respath..filename) end