Form position relative to screen

  • Thread starter Thread starter John
  • Start date Start date
John said:
Hi

How can I set the left position of a form relative to screen?

Relative to the screen, or to the Access application window? Is this a
popup form, or a regular Access form? Unless it's a popup form, it's
not going to be visible outside the Access window.

You can use Nicole Calinoiou's clFormWindow class object, posted here:

http://www.mvps.org/access/forms/frm0042.htm

to control a form's position. If the form is a popup form, setting the
class object's Left and Top properties to 0 will position it in the top
left of the screen. If it's not a popup form, that will put it at the
top left of the Access application window.
 
Ron2005 said:
also for a popup you can use docmd.movesize to place the form on the
screen.

I could be wrong, but I think that will position the form with respect
to the Access Application window, not the screen. If the screen is what
is wanted, DoCmd.MoveSize may not work.
 
Back
Top