cdoverlaw Posted January 16, 2004 Posted January 16, 2004 I want to make the x button on the forms just hide the form not close it completly how do i do this (as on main form this will close program and on the other forms it will mean when i try and open them again i will get an error) Jonathan Quote
cdoverlaw Posted January 16, 2004 Author Posted January 16, 2004 Is what i am askin actually possible Quote
Administrators PlausiblyDamp Posted January 16, 2004 Administrators Posted January 16, 2004 Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing Me.Hide() e.Cancel = True End Sub Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.