Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 12th, 2004, 08:00 AM
Registered User
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Close button removal

Hello,

What I am trying to do is remove both the close buttons from the form and from the title bar. Does anybody know how to do this? I think I have figured out how to do it on the form however the one on the title bar is a mystery to me. The reason I would like to do this is so that the person using the database be required to click another close button that will save the data entered.

Thank you.
 
Old July 12th, 2004, 08:16 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

In the form's design view make sure the control box and close button properties are set to NO. You may have to set MinMax buttons to NO, too.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old July 12th, 2004, 05:30 PM
Registered User
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

Although this did help a little, it didn't help fully. Maybe I didn't make myself clear enough. What I would like to do is to remove the close button in the extreme top right hand corner. The one that will close all of MS Access.

Thanks

 
Old July 15th, 2004, 09:37 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That can be done, in a few different ways, but it basically gets rid of the entire Access UI, which you may or may not want to do.

If you have a form that is always open, you can set it to Maximize on load, have it's properties be Popup and Modal, and the Border Style = None

That's one way.

Another way to really hide the UI (rather than just cover it up) would be to use the code here:
http://www.mvps.org/access/api/api0019.htm

Steven

I am a loud man with a very large hat. This means I am in charge
 
Old July 16th, 2004, 03:50 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here's a third way to achieve the same result: http://www.mvps.org/access/general/gen0005.htm


Brian Skelton
Braxis Computer Services Ltd.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help with the close(X) button. chobo2 C# 2008 aka C# 3.0 2 October 22nd, 2008 11:08 PM
access close button Vince_421 Access VBA 3 February 14th, 2007 12:01 PM
trying to close browser in a button taliosfalcon ASP.NET 1.0 and 1.1 Basics 1 February 7th, 2005 12:11 AM
Access Close Button stoneman Access 9 July 7th, 2004 02:53 PM
Newbie Close Button Metastockuser Access 1 June 13th, 2004 04:12 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.