Access 2000 Disable Close and Minimize Buttons

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

    Access 2000 Disable Close and Minimize Buttons

    Hi Everybody

    On Report Preview
    Does anyone know of a way to disable the Minimum, Maximum and Close
    buttons, so that the user cannot close by any other means that the
    Toolbar button that I have supplied.

    This is easy enough on Access 2000 FORMS in Properties>>For mat etc, but
    this is not available on a REPORT.

    I am trying get the users to close the report USING the Toolbar button
    that I have supplied

    Regards Bob

  • Juan M Afan de Ribera

    #2
    Re: Access 2000 Disable Close and Minimize Buttons

    Hi,

    maybe this link will be usefull for you.



    there is a function called ActivateControl Box that deactivates/activates the
    menu, close, minimize and maximize buttons of a standard window. It is
    prepared to use it with Access main window, but it is easy to transform it
    for using with reports or forms windows. You only have to change the value
    of the hWnd variable:

    hWnd = Access.hWndAcce ssApp

    with the value of the hwnd property of your report or your form

    HTH
    --
    Saludos,
    Juan M Afan de Ribera
    [MVP Access]





    "bobdydd" <reallyuseful20 04@yahoo.co.uk> escribió en el mensaje
    news:1130068668 .921566.142420@ g44g2000cwa.goo glegroups.com.. .[color=blue]
    > Hi Everybody
    >
    > On Report Preview
    > Does anyone know of a way to disable the Minimum, Maximum and Close
    > buttons, so that the user cannot close by any other means that the
    > Toolbar button that I have supplied.
    >
    > This is easy enough on Access 2000 FORMS in Properties>>For mat etc, but
    > this is not available on a REPORT.
    >
    > I am trying get the users to close the report USING the Toolbar button
    > that I have supplied
    >
    > Regards Bob
    >[/color]


    Comment

    • bobdydd

      #3
      Re: Access 2000 Disable Close and Minimize Buttons

      Thanks for the reply Juan

      I will certainly try this.

      Bob

      Comment

      • Stian Ivabakken

        #4
        Re: Access 2000 Disable Close and Minimize Buttons

        > On 23-10-05 13:57, in article
        1130068668.9215 66.142420@g44g2 00...legr oups.com, "bobdydd"
        <reallyuseful20 04@yahoo.co.uk> wrote:
        [color=blue]
        > Hi Everybody
        >
        > On Report Preview Does anyone know of a way to disable the Minimum, Maximum
        > and Close buttons, so that the user cannot close by any other means that the
        > Toolbar button that I have supplied.
        >
        > This is easy enough on Access 2000 FORMS in Properties>>For mat etc, but this
        > is not available on a REPORT.
        >
        > I am trying get the users to close the report USING the Toolbar button that I
        > have supplied
        >
        > Regards Bob
        >[/color]


        Comment

        Working...