In order to hide the X, you have to hide the control box. If you hide the control box, you lose all the icons (minimize, maximize, and close). To hide the control box, set ControlBox property to False. You can hide the minimize and maximize buttons independently but not the X.
>hello everyone, does anyone know the equivalent to the closable property on a foxpro form for VB.NET. Thanks.
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi