Log in

View Full Version : Visual basic


kausikporel
Apr 15, 2004, 10:12 PM
How can I disable maximise button of a form but minimise and close button should be enable?

Gkhster
Jul 4, 2004, 02:08 AM
In VB 6 (and below I believe) Just set the MaxButton property of the form to False.

Full documentation is at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vb98/html/vbpromaxbutton.asp

In VB.NET set the MaximizeBox property to false.

That documentation is at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsformclassmaximizeboxtopic.a sp

I hope that this has been helpful,

Guy


Hope that this helps,

Guy