Solved

Resize SubForm and Main Form

Posted on 2008-06-21
3
1,062 Views
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?
0
Comment
Question by:Ludique
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Accepted Solution

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

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

Expert Comment

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

Expert Comment

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

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

635 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