Resize SubForm and Main Form

Posted on 2008-06-21
Medium Priority
Last Modified: 2013-11-28
I have a form with 10 little subforms which are 9cm wide and 0.6cm high.  They are placed on the form one after each other like the rows of a column.  When the user clicks on a field in a subform (called SubHeader), I'd like the subform to resize to 4cm high and for all the others to move down to make room.
Is this possible?
Question by:Ludique
  • 2
LVL 13

Accepted Solution

wiswalld earned 2000 total points
ID: 21840968
in the on enter for the subform put

Me.Subformname.Height = 4000   'or whatever you want
LVL 13

Expert Comment

ID: 21840975
You will probably need something in the on exit also

Expert Comment

ID: 35223559
To move the other subforms down you need to change their TOP property.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Implementing simple internal controls in the Microsoft Access application.
What to do if a split doesn't fit? Or a bunch of invoice lines must be rounded while the sum must match a total? It takes a little, but - when done - it is extremely easy to implement.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question