I have a winform with its "Locked" property set to true in its property page. But oddly enough, when I run the application, I am still able to grow or shrink the form. What am I doing wrong is there any other property that needs to be set
The Locked property is to lock the controls on the form at design time. This helps you prevent yourself from moving controls when you have them set up just like you want them.
To prevent resizing the form, use the FormBorderStyle.
Locking a form from being re-sized
CWDavid
Tailor
The Locked property is to lock the controls on the form at design time. This helps you prevent yourself from moving controls when you have them set up just like you want them.
To prevent resizing the form, use the FormBorderStyle.