BlueJay924 Posted July 6, 2003 Posted July 6, 2003 Does anyone know how to prevent the resizing of a form. I am creating a mdi app and i don't want the user to resize the parent form. Help!!! Quote
*Experts* mutant Posted July 6, 2003 *Experts* Posted July 6, 2003 Use the MinimumSize and MaximumSize properties of the form, just type the same number in both. Quote
*Gurus* divil Posted July 6, 2003 *Gurus* Posted July 6, 2003 Set the form's FormBorderStyle to a non-sizeable one. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
*Experts* mutant Posted July 6, 2003 *Experts* Posted July 6, 2003 Thats another way :), but if you use what Divil said make sure that you disable the maximizebox so the user cant maximize it, that is of course if you dont want the user to maximize it. Quote
BlueJay924 Posted July 6, 2003 Author Posted July 6, 2003 Thanks. After i sent the post i realized that setting max and min to the same problem would solve my problem. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.