"Greg" <Gr**@discussions.microsoft.com> schrieb:
Is there anyway to remove the close button on a form, or is there a "On
Close" property? TIA.
To remove the control box, set the form's 'ControlBox' property to 'False'.
Add a handler to the form's 'Closing' event if you want to be notified when
the form closes. You can set 'e.Cancel = False' there to prevent the form
from closing.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>