Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Resize SubForm and Main Form

Posted on 2008-06-21
3
Medium Priority
?
1,071 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

916 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