Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to position Form ?

Status
Not open for further replies.

101287

MIS
Apr 8, 2006
189
US
Need to position a form in a static position everytime the form is opened? Is there anyway that I could do that?

Also, How can I make this form a specific size every single time.

Your collaboration will be appreciated.

Luis
 
Have a look at the DoCmd.MoveSize method.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
PHV - Read about the DoCmd.MoveSize method as recommended. However, decided to use module documented in However, when I use it I get an overflow condition on "GetWindowRect F.hWnd, FormRect" don't understand why? Any suggestions, Am I missing any references... Suggestion, will be appreciated.

Luis
 
The code is for access 2.0, a 16 bits application !

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thank you. However, don't understand what access 2.0, a 16 bits application means. I have MS Office 2007 and access 2007. Does this mean that 2007 is not 16 bits? Sorry for keep asking questions but really want to learn.

Luis
 
MS Access 2.0 was compatible with Windows 3.0 (16 bit) from 1993 or so. MS Office 95 (and Access 95) were 32 bit and written to go along with Windows 95. Since Microsoft keeps some of its knowledgebase articles around forever, it's easy to find a bit of something like this that seems applicable to your problem, but has been rendered antique by the march of progress.
 
And you still didn't say us why the DoCmd.MoveSize method is not suitable for you.
 
Sorry, I tried your recommendation and fulfill my requirements. Thank you for help and collaboration.

LUis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top