Its that button in the middle of close and minimize. I know you can set "border style" to none or whatever and it will make everything go away except for the close button... But I want to make it so that you can still see all the buttons except the maximize button is disabled. Wow I make no sense, I hope someone can figure that out
the closest i can get to disabled is having a timer with this code in it running at one second Code (Text): If Me.WindowState = 2 Then Me.WindowState = 0 End If and then have Code (Text): Private Sub Form_Load() Timer1.Enabled = True End Sub but all that does is have it bounce back every second and does not prevent the user from dragging the window larger, to do that, you would need to have it rechange the border every second
That seems a bit harsh for the users using the program, because this is for my school and i'm getting paid for it so I'm kinda looking for something to disable the maximize button. I think ricky92 uses it on his programs. Thanks for the help anyway
I just set the MaxButton Property to False. It will disable the button but it won't avoid the form to be sizable...
set the form's "borderstyle" to "3 - fixed dialog" that stops resizing. but gets rid of the minimize button.
You can set the WindowStyle to Fixed and then set the MinButton property to True. This will do the work