Results 1 to 9 of 9
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Disable Close Window Button? ( A2k (9.0.4402) SR-1)

    What is the best approach to have the user use the form Close and Exit buttons on forms to gracefully close each for and exit the system?

    I set the Close Button property on a form to NO, and I still get the X (Close Window) in the Control Menu top right of screen. Why is this?

    What happens if user closes access if several forms are still open? Is this a problem?

    Thanks, John Graves

  2. #2
    Lounger
    Join Date
    Jan 2001
    Location
    Indiana
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Close Window Button? ( A2k (9.0.4402) SR-1)

    John,

    In the properties of the form set the Control Box to NO as well. This will eliminate the ghosted Close button in the Title Bar.

  3. #3
    Lounger
    Join Date
    Jan 2001
    Location
    Indiana
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Close Window Button? ( A2k (9.0.4402) SR-1)

    John,

    I think I replied too fast. Are you wanting to remove the close button on the Access Window or a Form Window?

  4. #4
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Close Window Button? ( A2k (9.0.4402) SR-1)

    Hi Tom

    Thanks for responses.

    I would like to know how to remove the close button on both the Access and Form Window.

    John

  5. #5
    Lounger
    Join Date
    Jan 2001
    Location
    Indiana
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Close Window Button? ( A2k (9.0.4402) SR-1)

    John,

    I can help on the form window not the Access window. With the form in design view go into the properties of the form. You can do this by double clicking on the gray square to the left horizontal ruler on the top of your form. (It may have a black square in it when you first go into form design.)

    I have attached a Word file with a picture of a form before property changes and after property changes with a list of the properties to change.

    If there is anything else just post again.
    Attached Files Attached Files

  6. #6
    4 Star Lounger
    Join Date
    Jun 2001
    Location
    Sacramento, California, USA
    Posts
    491
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Close Window Button? ( A2k (9.0.4402) SR-1)

    Check out this thread: <A target="_blank" HREF=http://www.calvinsmithsoftware.com/DisableControlBox.txt>Tip # 19</A>.
    It gets rid of the of that pesky "X" on the Windows window.
    It is absolutely wonderful. Users have only 2 ways out. My EXIT button or ctrl-alt-del. (and there's not much one can do about ctrl-alt-del that I know of)

    Hope this link helps:
    <A target="_blank" HREF=http://www.calvinsmithsoftware.com/cserve.htm>http://www.calvinsmithsoftware.com/cserve.htm</A>

    Michael Abrams

    Edited to activate Links--Charlotte

  7. #7
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Close Window Button? ( A2k (9.0.4402) SR-1)

    Thank you all

    FYI - Another solution I found.

    John Graves

    ====================
    I create Command buttons on each form for users to use to exit or
    close the forms. To disable the X (close Window) in the Control Menu
    top right of screen, goto the following:

    <A target="_blank" HREF=http://support.microsoft.com/support/kb/articles/Q245/7/46.ASP>http://support.microsoft.com/support/kb/ar...s/Q245/7/46.ASP</A>?LN=EN-
    US&SD=gn&FR=0&qry=disable the close%
    20button&rnk=2&src=DHCS_MSPSS_gn_SRCH&SPR=ACC2000
    ====================

    Edited to activate link--Charlotte

  8. #8
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Close Window Button? ( A2k (9.0.4402) SR-1)

    Hi Thomas

    Thanks for info.

    After making all the property selections in youe example, I'm still getting Restore buttone top right corner of form.

    Any clues?

    John

  9. #9
    Lounger
    Join Date
    Jan 2001
    Location
    Indiana
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disable Close Window Button? ( A2k (9.0.4402) SR-1)

    John,

    The only thing I can think of is your form is set to Sizable and Max Enabled is set. Try setting Border style to Dialog.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •