Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Form size in Code

Status
Not open for further replies.

davman2002

Programmer
Nov 4, 2002
75
0
0
US
I want to know if anyone can show me how to change the size of the form in code. For example I have a form that I want to have the minimize and Maximize icons in. however I only want the Maximize button to allow the user to maximize the form to a specified size (not the full window).

Thanks for your help
 
Perhaps you could use the form OnResize event to test the window size/location properties (windowheight,windowwidth,etc) and then use docmd.movesize to resize/relocate if your thresholds are exceeded.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top