Cosmos75
Registered User.
- Local time
- Today, 14:16
- Joined
- Apr 22, 2002
- Messages
- 1,281
Found two API calls for getting the screen position of the mouse pointer and setting its position.
Is there a similiar API call for the x,y location for controls (Buttons, TextBoxes, ComboBoxes, and so on)?
I would like to have the mouse pointer move to a control via VBA.
I found this tip for VB but I can't get it to work as there is no .TwipsPerPixelX or .TwipsPerPixelXY property for Screen object (is that what you call it?) in Access. At least as for as I can tell!

Is there a similiar API call for the x,y location for controls (Buttons, TextBoxes, ComboBoxes, and so on)?

I would like to have the mouse pointer move to a control via VBA.
I found this tip for VB but I can't get it to work as there is no .TwipsPerPixelX or .TwipsPerPixelXY property for Screen object (is that what you call it?) in Access. At least as for as I can tell!

Attachments
Last edited: