BP Forums
Disable Sizable Border - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8)
+---- Thread: Disable Sizable Border (/showthread.php?tid=468)



Disable Sizable Border - Vinwarez - 03-11-2012

Hello, BP community.
Well, since I want to be active on the forum, I decided to share a little hint with you. There is that famous way to disable sizable border (FormBorderStyle -> FixedSingle/Fixed3D), but the border of the form changes a bit. Well, there is a way which does not change the form border, but makes the borders unsizable.

How? Here's the way:
1. Find "AutoSizeMode" in the Properties window.
2. The default value should be "GrowOnly", but you change it to "GrowAndShrink".
3. Test your application.
NOTICE: Your "FormBorderStyle" may be set to "Sizable".

I hope I helped someone who was looking how to fix it.

Regards,
Vinwarez.


Re: Disable Sizable Border - brandonio21 - 03-11-2012

Oh wow, thanks for sharing! This will definitely come in handy!!


Re: Disable Sizable Border - Vinwarez - 03-12-2012

No problem!

Regards,
Vinwarez.