Nov 12, 2001 #1 8441 Technical User May 9, 2001 54 GB Is it possible to set the starting position on the screen from with VBA code for a form. If this is possible how can it be done? Craig
Is it possible to set the starting position on the screen from with VBA code for a form. If this is possible how can it be done? Craig
Nov 12, 2001 1 #2 Ed2020 Programmer Nov 12, 2001 1,899 GB You need to use the MoveSize method: DoCmd.MoveSize , [Down], [Width], [Height] All measurements are entered in Twips (1440 per inch). It takes a bit if playing around to get the form position correct. Remember that screen resolution will affect this too. An API call to get screen res. can resolve this problem. Ed Metcalfe. Upvote 0 Downvote
You need to use the MoveSize method: DoCmd.MoveSize , [Down], [Width], [Height] All measurements are entered in Twips (1440 per inch). It takes a bit if playing around to get the form position correct. Remember that screen resolution will affect this too. An API call to get screen res. can resolve this problem. Ed Metcalfe.