coordinates

  • Thread starter Thread starter Ludwig
  • Start date Start date
L

Ludwig

Hello NG,

how can I get the coordinates of a form (top,left,right,bottom)? I would
like to store this information in an table for further use and I would like
to move and resize an active form via code. Can anybody help me?

Ludwig Ruhland
 
Look at the MoveSize Method of the DoCmd object in the help files.

The properties you want are properties of the form or form section:

Me.Left
Me.Top
Me.Width
Me.SectionName.Height

There is no bottom or right property. Those are obtained by reading the Top
property and adding all the sections (Header, Detail, Footer) and the Left
property and adding the form width.
--
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