Access 2000 Disable Close and Minimize Buttons

  • Thread starter Thread starter bobdydd
  • Start date Start date
B

bobdydd

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
 
On the Report properties set the:
MinMaxButtons Property to None
Close Button Property to No
 
Hi,

maybe this link will be usefull for you.

http://www.mvp-access.com/accessvbafaq/item.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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top