Guest Nwulf Posted August 14, 2002 Posted August 14, 2002 Sometimes I wish I was working with VB 6 :( I want to disable the close button on my forms. I have the Max/Min buttons removed, but there is no close button property in the form properties. I have searched on "disable close button" and have found most material in reference to VB6 or earlier. With the different code changes, I really have no idea on where to put it. I have searched some sites that have .Net examples, but kind of came up emtpy. Has anyone else tried to disable the close button on VB .Net forms? Thanks.... Nick Quote
Moderators Robby Posted August 14, 2002 Moderators Posted August 14, 2002 you can set ControlBox to False Quote Visit...Bassic Software
Guest Nwulf Posted August 14, 2002 Posted August 14, 2002 Toooooooo easy! Shouldn't they have called it "Close Button" so that it would be more obvious??:D Thanks again! Nick Quote
Moderators Robby Posted August 14, 2002 Moderators Posted August 14, 2002 ControlBox includes the Min and Max. So it's not only the Close. Quote Visit...Bassic Software
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.