form.visible = false

or select the form and set visible to false in the properties section