Form display position

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I have a small pop non-dialog form that I need to appear towards the right
side of the screen. Is there a way to achieve this?

Regards
 
John said:
Hi

I have a small pop non-dialog form that I need to appear towards the right
side of the screen. Is there a way to achieve this?

You can use the MoveSize method:

DoCmd.MoveSize
[, down][, width][, height]

Leave the comma in front of arguments you leave empty. The measurement is in
Twips. There are 1440 twips to the inch.

Your code might read something like:

Sub Form_Open(Cancel As Integer)
DoCmd.MoveSize 11500, 2000
End Sub
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

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

Back
Top