Solved

access How to get the absolute position of a control

Posted on 2008-10-25
6
172 Views
Last Modified: 2013-11-28
ms access  How to get the absolute position of a control
0
Comment
Question by:pbridda
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 120

Expert Comment

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

0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 22803477

sub getPosition(ctl as string)
dim y,x
y=me(ctl).top
x=me(ctl).left

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

Author Comment

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

Expert Comment

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

see this link

http://support.microsoft.com/kb/q210141/

what exactly are you trynig to do?
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

623 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