Search code examples
.netvb.netwinformsvisual-studio-2013

VB.NET Form is Locked even though property is False


I created a windows form application in vb.net which now acts very strangely as it seems when i run it i can't resize the window at all (only minimize and maximize) even though the form's lock property is false.

Any idea what might cause it? Thanks.


Solution

  • Solved - it was Auto Size set to True and AutoSizeMode set to GrowAndShrink. Disabling AutoSize solved the problem.

    Thanks to Sriram and Neolisk.