Solved

Resize SubForm and Main Form

Posted on 2008-06-21
3
1,055 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
  • 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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 …
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

749 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