Acc97 - Moving current screen in runtime - TechRepublic
General discussion
June 5, 2002 at 01:54 PM
timfox

Acc97 – Moving current screen in runtime

by timfox . Updated 24 years ago

I am trying to move a pop-up calendar form to a position on the screen that is relative to a user’s mouse click (close to the text box where the date selected will be going).

The mouse_up gives me the X,Y mouse pos in twips (although in onLine Help it says both inches/cm and twips), which I then use with the DoCmd.MoveSize method. The actual form moves slightly, although rather unpredictably.

Is anyone able to use this method with more success? Any solutions?

I’ve tried applying the MoveSize method with the calling form and also setting a global variable and letting the Calendar form do the movesize. I’ve used different combinations of events etc – without much luck.

Are there any other ways of achieving this?

This discussion is locked

All Comments