If you're talking about the "X" in the right corner, go to the properties box for the form, you can set either the Close Button property to No, or the Control Box property to No(that takes away the Min & Max buttons as well). If you have a command button, set the Visible property to NO.