access How to get the absolute position of a control

Posted on 2008-10-25
Medium Priority
Last Modified: 2013-11-28
ms access  How to get the absolute position of a control
Question by:pbridda
  • 3
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 22803312
you can use the Top, left property of the control

LVL 120

Accepted Solution

Rey Obrero (Capricorn1) earned 2000 total points
ID: 22803477

sub getPosition(ctl as string)
dim y,x

msgbox  "Left : " & x & " Top :" & y
end sub

Author Comment

ID: 22803506
I have to find the screen absolute position in pixel.
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 22803568
are you pertaining to a form or control?

see this link


what exactly are you trynig to do?

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question