form pozition on screen

F

Florin

I would like to find form position on screen.
It's similar to DoCmd.movesize, but I want discover "parameters' for form
position
(left corner, top corner, etc)
 
B

boblarson

Are you saying that you want to find out what the current position IS?

If so, you can use something like this:

MyFormLeftVariable = Me.Left
MyFormTopVariable = Me.Top

MsgBox "My Form is at " & MyFormLeftVariable & VbCrLf & MyFormTopVariable

Or however you want to use it.
--
Bob Larson
Access World Forums Super Moderator
Utter Access VIP
Tutorials at http://www.btabdevelopment.com
__________________________________
If my post was helpful to you, please rate the post.
 
B

boblarson

Sorry, try this:

Me.WindowTop
Me.WindowLeft
--
Bob Larson
Access World Forums Super Moderator
Utter Access VIP
Tutorials at http://www.btabdevelopment.com
__________________________________
If my post was helpful to you, please rate the post.
 
Top