form question
-
Is there a way to disable the close button in the upper right corner of a form? I know how to get rid of the minimize and maximize, but I would like to disable the close button as well. Any help would be greatly appreciated.
Hi, go to the form properties window and set the control box to false, and u can check the other properties like maximize and else.
Mohammad Al Hoss
-
Is there a way to disable the close button in the upper right corner of a form? I know how to get rid of the minimize and maximize, but I would like to disable the close button as well. Any help would be greatly appreciated.
Hi, To get the desired result you need to use certain APIs. The following article explains how to disable the Close (X) button of a Windows From. For VB.Net http://www.devasp.net/net/articles/display/307.html[^] For VB6 http://www.freevbcode.com/ShowCode.asp?ID=2448[^] Hope this helps:)
Regards, John Adams ComponentOne LLC
-
Is there a way to disable the close button in the upper right corner of a form? I know how to get rid of the minimize and maximize, but I would like to disable the close button as well. Any help would be greatly appreciated.