all groups > dotnet windows forms > august 2006 >
You're in the

dotnet windows forms

group:

Disable Resizable Form


Disable Resizable Form Janiv Ratson
8/7/2006 4:10:47 PM
dotnet windows forms:
Hi,
Using C# and Windows Forms, how do I disable the window resizable option?
I want my form to be fixed size only.
Thanks,
Janiv Ratson.

Re: Disable Resizable Form FUnky
8/7/2006 6:48:58 PM
Set the FormBorderStyle to FixedSingle/3D.

RE: Disable Resizable Form Nkemakonam
8/8/2006 12:35:01 PM
You can make the minimumsize the same as the maximum size and then set the
Maximizebox property to false. so when they double-click the titlebar it will
not maximize and since the min & max sizes are the same, if they dragged the
edge, they couldn't resize it.

good luck

[quoted text, click to view]
AddThis Social Bookmark Button