Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
XML RSS Feed
 
 
 
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
TitleMake a form that can be maximized and minimized but not resized arbitrarily
DescriptionThis example shows how to make a form that can be maximized and minimized but not resized arbitrarily in Visual Basic 6. Set the form's BorderStyle to Fixed Single, and set MinButton and MaxButton to True.
Keywordsresize, no resize, prevent resize
CategoriesControls, Tips and Tricks
 
Thanks to Daniel Stroud.

Set the form's BorderStyle to 1 - Fixed Single. Set the form's MinButton and MaxButton properties to True.

The form can now be minimised and maximised, but not resized manually. You still have the option to change the size in code, but the user cannot.

 
 
Copyright © 1997-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated