A agehoops Registered User. Local time Today, 09:04 Joined Feb 11, 2006 Messages 351 Aug 13, 2007 #1 How do you control the position of a form programmatically?
Bodisathva Registered User. Local time Today, 04:04 Joined Oct 4, 2005 Messages 1,274 Aug 13, 2007 #2 search the help file for Form.Move...
A agehoops Registered User. Local time Today, 09:04 Joined Feb 11, 2006 Messages 351 Aug 13, 2007 #3 Brilliant thanks. Found it. Don't suppose you know how to return its current position so I know where to be moving it do you?
Brilliant thanks. Found it. Don't suppose you know how to return its current position so I know where to be moving it do you?
M Moniker VBA Pro Local time Today, 03:04 Joined Dec 21, 2006 Messages 1,567 Aug 13, 2007 #4 YourFormName.WindowHeight YourFormName.WindowWidth in conjunction with: YourFormName.WindowLeft YourFormName.WindowTop You can get the top left corner of the form window with the latter, and determine how big it is with the former.
YourFormName.WindowHeight YourFormName.WindowWidth in conjunction with: YourFormName.WindowLeft YourFormName.WindowTop You can get the top left corner of the form window with the latter, and determine how big it is with the former.
A agehoops Registered User. Local time Today, 09:04 Joined Feb 11, 2006 Messages 351 Aug 13, 2007 #5 Fantastic, thanks so much. Just what I needed