Chris- >Setting cancelButton.DialogResult to None in the designer has no effect >-- at runtime the form is still closed.
You can override the Closing if you want. . . Just handle the Closing event of the Dialog and set e.Cancel = True. <Code Snippet = VB.NET> Private Sub Form2_Closing(ByVal sender As Object, ByVal e As ClosingEventArgs) Handles MyBase.Closing e.Cancel = True End Sub </Code Snippet> Jacob A. Grass You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.