469,322 Members | 1,603 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,322 developers. It's quick & easy.

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>>Format 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

Nov 13 '05 #1
3 2687
Hi,

maybe this link will be usefull for you.

http://www.mvp-access.com/accessvbaf....asp?pagina=71

there is a function called ActivateControlBox 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.hWndAccessApp

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

HTH
--
Saludos,
Juan M Afan de Ribera
[MVP Access]
http://www.mvp-access.com/accessvbafaq
http://www.mvp-access.com/juanmafan

"bobdydd" <re**************@yahoo.co.uk> escribió en el mensaje
news:11**********************@g44g2000cwa.googlegr oups.com...
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>>Format 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

Nov 13 '05 #2
Thanks for the reply Juan

I will certainly try this.

Bob

Nov 13 '05 #3
> On 23-10-05 13:57, in article
11**********************@g44g2000cwa.googlegroups. com, "bobdydd"
<re**************@yahoo.co.uk> wrote:
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>>Format 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

Nov 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Peter Frost | last post: by
1 post views Thread by lauren quantrell | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.