Solved

Access 2013 - Forms

Posted on 2015-02-19
12
101 Views
Last Modified: 2015-02-23
My OS is win 7 prof 64 bit and i use Access 2013.  I have a small app, and when the Form is opened when the App is loaded, the Form is maximized in that I am unable to hit the X button to close it.  Is there a way to load the Form by code, so that it occupies about 95% of the screen, so that I can  click on the task bars to move it around.  Thank u for your suggestion.
0
Comment
Question by:jegajothy
  • 5
  • 4
  • 3
12 Comments
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 500 total points
ID: 40619987
You should be able to use the Forms Move method, which lets you position the form and size it all in one.

Private Sub Form_Open

    me.Move 1440, 1440,  9*1440, 9*1440

End Sub

This should make the form 9"x9" and offset it 1" from the bottom of the ribbon and 1" from the right margin of the navpane
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 40619989
Assumes that you have the forms configured for overlapping windows, not tabs, which is the default in later versions of Access.
0
 
LVL 75
ID: 40620008
Noting that 1440 Twips = one inch, and the parameters for move are in Twips.
0
 

Author Comment

by:jegajothy
ID: 40620163
In response to Date Eye, thank u for the code  solution,  it works.   Gracias
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 40620217
You're welcome.

BTW, that's "Fye", not "Eye"
0
 
LVL 75
ID: 40620223
I thought it was Fried ... humm
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 40620229
Yeah, Joe, there has been a lot of that lately too.  One of these days, I'll find some time to finish the CommandBarTool.
0
 
LVL 75
ID: 40620237
It's really close ...
If you could just fix that last minor issue .. about no equals sign in front of - what would be a Macro name - in the Parameter property
0
 

Author Comment

by:jegajothy
ID: 40621083
in response to DatabaseMX, I am not sure I understand what u are trying to convey, hope u could please give in solution form.  Thank u for your participation.
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 40621124
jegajothy,

Sorry, that was just a discussion between MX and me.
0
 
LVL 75
ID: 40621785
Sorry ...
0
 

Author Closing Comment

by:jegajothy
ID: 40626151
thank u.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
My experience with Windows 10 over a one year period and suggestions for smooth operation
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now