Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I set AutoCenter when form is closed? 1

Status
Not open for further replies.

LakotaMan

Instructor
Aug 21, 2001
240
US
Hopefully this will have a simple solution that I am somehow :) overlooking!

Using version 2003, I need to set a form’s AutoCenter property to True from a button on another form. Every time I try to do this with code, the error msg informs me that this property can’t be set at run time. How do I set it when the form is closed (from this other form)?

Thanks in advance for all help.

TWD
 
Reopen the form hidden and in design view.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Right on the button, PHV.

Thanks, as always, for your expertise!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top