Open form on bottom right hand corner of Access Screen

  • Thread starter SurveyorinVA via AccessMonster.com
  • Start date
S

SurveyorinVA via AccessMonster.com

Good morning,
What is the best way to use the Docmd.MoveSize on the OnOpen Event of a form
to place it on the bottom right hand corner of the maximized Access Window.

I have tried putting distict values for the
and [down], but depending
on the resolution and screen size that value will change.

Is there a way to find out the value of the bottom right hand corner of the
details section, and subtract the forms width and height to get the top and
right values to use in the Docmd.MoveSize function?

Any thoughts would be greatly appreciated.
Regards,
Chris​
 
T

tobesurveyor via AccessMonster.com

I have a form that acts as a progress bar to a main form, and would like for
it instead of being in the middle of the screen, to display in the bottom
right hand corner of the screen.
Good morning,
What is the best way to use the Docmd.MoveSize on the OnOpen Event of a form
to place it on the bottom right hand corner of the maximized Access Window.

I have tried putting distict values for the
and [down], but depending
on the resolution and screen size that value will change.

Is there a way to find out the value of the bottom right hand corner of the
details section, and subtract the forms width and height to get the top and
right values to use in the Docmd.MoveSize function?

Any thoughts would be greatly appreciated.
Regards,
Chris​
 
D

Dale Fye

Take a look at the insideheight and insidewidth properties of the forms
detail section to get the forms size. If there is a header or footer, you
will also need to incorporate these values for those sections into your
computation.

--
Don''t forget to rate the post if it was helpful!

email address is invalid
Please reply to newsgroup only.



tobesurveyor via AccessMonster.com said:
I have a form that acts as a progress bar to a main form, and would like for
it instead of being in the middle of the screen, to display in the bottom
right hand corner of the screen.
Good morning,
What is the best way to use the Docmd.MoveSize on the OnOpen Event of a form
to place it on the bottom right hand corner of the maximized Access Window.

I have tried putting distict values for the
and [down], but depending
on the resolution and screen size that value will change.

Is there a way to find out the value of the bottom right hand corner of the
details section, and subtract the forms width and height to get the top and
right values to use in the Docmd.MoveSize function?

Any thoughts would be greatly appreciated.
Regards,
Chris​

 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top