determining form locations in the window

  • Thread starter Thread starter Edm
  • Start date Start date
E

Edm

Hi,

I would like to be able to have my windows open up in the
same locations each time they are used. I have heard that
I do this via positioning within the X Y axis, but I see
no visible way to measure the X Y axis to determine where
things are to begin with. I assume its some kind of
option in Access that I just dont have turned on.
Unfortunately that little cat that always wants to help me
out with things isnt very helpful.... so here I am.

How do I turn on coordinate view so I can tell where I
need my windows to be?

Thanks,

Edm
 
you can try using the following code on the on_load event of your form

Private Sub Form_Load()
Me.Move Left:=0, Top:=0, Width:=6000, Height:=2000
End Sub

You have to adjust the values according your needs
for more detail look inside the MOVE method in the help
 
In addition to the reply concerning the MoveSize method, I
will say there is no built-in way to turn on a grid or
otherwise orient yourself. There are third-party methods
for doing this, but you will probably do fine with trial
and error. Visual Basic Help provides more information.
 
Back
Top