I want to move a form to the screen's left side in Access 2007 in the onOpen
event. I've not found how to do it using form properties, because top and left properties seems to be read only through code during runtime.
Do I need call API methods to move a form in Access to another position on screen? Is there a quick way to do it?
Look at Access' Help topic for the
Move
method.This sample is code behind a command button which will re-position the current form. If you supply the
Width
andHeight
arguments, you can also useMove
to resize the form.Note the numbers are in twips: 1440 twips per inch; or 567 twips per centimeter.