Disable Close Button

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vincent

    Disable Close Button

    I have seen no solution to this issue and was wondering if anyone had
    one. I am trying to disable the close button in the upper-right
    corner of the screen in an Access .mde running under the Access 2007
    runtime. Is this possible? Solutions for previous versions of Access
    do not seem to be working. Thanks.

    Vincent
  • lyle

    #2
    Re: Disable Close Button

    On Mar 28, 12:39 am, "ARC" <PCES...@PCESof t.invalidwrote:
    Access does some very strange things when you click the top right x. Oddly
    enough, events fire that would have no right to fire, such as the currently
    opened form's "On Open" event. So you basically have to debug all
    possibilities of different forms opened then clicking the top right x.
    It doesn't do that here in Canada.

    But Canada is a wonderful country. Everything seems to run so well in
    our clean, cold, refreshing air. Over the years, I've found that
    99.44% of Access problems, bugs and troubles reported here in CDMA
    just don't occur in my databases here in Canada.

    Comment

    • timmg

      #3
      Re: Disable Close Button

      On Mar 28, 2:08 am, lyle <lyle.fairfi... @gmail.comwrote :
      On Mar 28, 12:39 am, "ARC" <PCES...@PCESof t.invalidwrote:
      >
      Access does some very strange things when you click the top right x. Oddly
      enough, events fire that would have no right to fire, such as the currently
      opened form's "On Open" event. So you basically have to debug all
      possibilities of different forms opened then clicking the top right x.
      >
      It doesn't do that here in Canada.
      >
      But Canada is a wonderful country. Everything seems to run so well in
      our clean, cold, refreshing air. Over the years, I've found that
      99.44% of Access problems, bugs and troubles reported here in CDMA
      just don't occur in my databases here in Canada.
      So, Lyle, what would it cost for you to host my access files and allow
      terminal services connections? I'd love to have all of my problems
      solved by simple outsourcing <very big grin>.

      Comment

      • ARC

        #4
        Re: Disable Close Button

        Plus you have better health-care in Canada!

        You should be able to duplicate: Try opening a form as invisible with a text
        box on it. Then in a form's on-open, or on-load, reference the text box on
        the invisible form. With that form open, try clicking the top right-x.


        "lyle" <lyle.fairfield @gmail.comwrote in message
        news:3a480610-18ef-4483-8e5d-623f553a8adb@t5 4g2000hsg.googl egroups.com...
        On Mar 28, 12:39 am, "ARC" <PCES...@PCESof t.invalidwrote:
        Access does some very strange things when you click the top right x. Oddly
        enough, events fire that would have no right to fire, such as the
        currently
        opened form's "On Open" event. So you basically have to debug all
        possibilities of different forms opened then clicking the top right x.
        It doesn't do that here in Canada.

        But Canada is a wonderful country. Everything seems to run so well in
        our clean, cold, refreshing air. Over the years, I've found that
        99.44% of Access problems, bugs and troubles reported here in CDMA
        just don't occur in my databases here in Canada.

        Comment

        • Gert De Meulenaere

          #5
          Re: Disable Close Button

          Hi Vincent,

          I've had the same problem too !

          This is how I could get around it.

          I tried to keep my forms always maximized. The problem I encountered
          was that when my customers clicked "show desktop" or Windows + D or
          Windows + M my form got minimized.

          By putting Docmd.Maximize in the forms On Resize event the form always
          stays maximized and that way the close button is always obscured by my
          application.

          Perhaps this is usefull for you too !



          *** Sent via Developersdex http://www.developersdex.com ***

          Comment

          Working...