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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resizing Forms When Opened

Status
Not open for further replies.

pd2004

Technical User
Aug 24, 2009
44
US
Hello,

I have a form that I want to automatically resize when it opens to fit the screen, regardless of the resolution settings on the computer. I am working on some vba code to do this (and any insights on that are appreciated), but on the form itself I have the following issue:

I have set the horizontal anchors for all controls and subforms to "both", and the vertical anchor to "top". The allow resize attribute is set to "true" for the form as well. However, when I manually resize the form, none of the controls/subforms resize. Is there another setting that I need to manipulate in order to have the resizing work properly?

I appreciate any insights.

Thank you,

Pat
 
How are ya pd2004 . . .

Have a look at ShrinkerStretcher

See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top