You can disable the close button on a form by overriding the createparams property.
Paul
ClsCp.ClassStyle = ClsCp.ClassStyle