Mikecrosoft Posted January 12, 2004 Posted January 12, 2004 Hi all, I need to know how I can restrinct the size of a form, I'm using the Paint and Resize Events, but I don't like how they looks Resize or Paint Event If me.Width < 700 then me.width = 700 End If End Sub It works, but looks bad, I need to restrinct the size like MSN Messenger Instant Message Window where the sizing just stops. Thanks Quote Mikecrosoft.Net
Mikecrosoft Posted January 12, 2004 Author Posted January 12, 2004 Solved, Its obviously that I'm new in .Net, the MinimumSize Window Property solves this. Thanks anyways ! :D Quote Mikecrosoft.Net
Administrators PlausiblyDamp Posted January 12, 2004 Administrators Posted January 12, 2004 The form has a minimumsize and maximumsize property - they are probably the easiest way. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
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.