remember form size and position

  • Thread starter Thread starter Nhan
  • Start date Start date
N

Nhan

Hi,
I want to save the form size and position on the screen and restore these,
when users open this form again.
I don't open this form with
docmd.open ..
but with
dim frm as form_frmForm1
set frm= new form_frmForm1
frm.visible = true

docmd.movesize right, left, height, width
...

But I can retrieve the current position of this form. Which functions,
properties can I use?
I have tried with API, but each time my functions give me the position
smaller than original (2 punct).

Thanks
Knott
 
Back
Top