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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding the MS Access Application Window Control Box

Status
Not open for further replies.

Stonez

Programmer
Sep 26, 2001
3
US
Does anyone know how to hide the MS Access 2000 application window control box when using toolbars on a form? I have already disabled them on the forms within my application, however, the control box for Minimize, Maximize, Restore and Close still appear in the upper right hand corner of the screen. No errors occur when exiting forms and subforms throughout my application using the Close button on the toolbars. However, when clicking the X in the control box MS Access attempts to quit and close resulting in errors. I have tried to use the logic provided in the Microsoft Knowledge Base article Q210299 ("Maximized form shows control box and Minimize, Maximize, and Restore buttons") but I receive the compile error - "Expected variable or procedure, not module" when executing the code in the Onload property of the forms. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top