Auto center forms

sconly

Registered User.
Local time
Today, 19:59
Joined
Oct 8, 2002
Messages
56
Is there a way to auto center all forms in a database, without going to each form and setting 'Auto center' property to YES?

For example, is there any vba code I could use?

Cheers!
 
Access says...

You can set this property by using the form's property sheet, a macro, or Visual Basic.

You can set this property only in Design view.

Remarks
Depending on the size and placement of the application window, forms can appear off to one side of the application window, hiding part of the form. Centering the form automatically when it's opened makes it easier to view and use.

If you make any changes in Design view to a form whose AutoResize property is set to No and whose AutoCenter property is set to Yes, switch to Form view before saving the form. If you don't, Microsoft Access clips the form on the right and bottom edges the next time you open the form.


David
 

Users who are viewing this thread

Back
Top Bottom