how to disable only close buuton
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
hello i want to disable only close button of the form and other two button should be enable please tell me how i can do this thing. plz tell me soon thanks
-
hello i want to disable only close button of the form and other two button should be enable please tell me how i can do this thing. plz tell me soon thanks
hi try to use the closing event for your form
Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing e.Cancel() = True ' this will stop the form closing End Sub
Tamimi - Code