Can I hide/disable the [Close] button?

  • Thread starter Thread starter Ricoy-Chicago
  • Start date Start date
R

Ricoy-Chicago

using Access XP.
Stundet at the school I work have to fill out an instrucotr's evaluation, i
disabled the [Close] button on the form and I hid the menu and icon bars, no
problem here.
The problem is that the close button associated with the title bar is still
displayed! The title bar displays the name of the application and the student
can use the [Close] button to terminate the application! IS there a way to
hide/disable this [Close] button?

thank you for your help
 
I am a little dense... where do I copy/paste the "private declare" and the
"Public"? Do i have to do it on all the forms or just on the "splash"?
Thanks, this is what i want...


Daniel Pineault said:
Take a look at

http://www.cardaconsultants.com/en/msaccess.php?lang=en&id=0000000011#AppContol

It should be what you are looking for if I understood your question properly.
--
Hope this helps,

Daniel Pineault
For Access Tips and Examples: http://www.cardaconsultants.com/en/msaccess.php
If this post was helpful, please rate it by using the vote buttons.



Ricoy-Chicago said:
using Access XP.
Stundet at the school I work have to fill out an instrucotr's evaluation, i
disabled the [Close] button on the form and I hid the menu and icon bars, no
problem here.
The problem is that the close button associated with the title bar is still
displayed! The title bar displays the name of the application and the student
can use the [Close] button to terminate the application! IS there a way to
hide/disable this [Close] button?

thank you for your help
 
Based on the originbal post,

Create a new module and paste the code in it.

Create a function call it startup() and enter in it:
fActivateCloseBox(False)

Create a macro call autoexec with a runcode command that run your startip()
function.

Now when you reopen the database, the close button should disappear.
--
Hope this helps,

Daniel Pineault
For Access Tips and Examples: http://www.cardaconsultants.com/en/msaccess.php
If this post was helpful, please rate it by using the vote buttons.



Ricoy-Chicago said:
I am a little dense... where do I copy/paste the "private declare" and the
"Public"? Do i have to do it on all the forms or just on the "splash"?
Thanks, this is what i want...


Daniel Pineault said:
Take a look at

http://www.cardaconsultants.com/en/msaccess.php?lang=en&id=0000000011#AppContol

It should be what you are looking for if I understood your question properly.
--
Hope this helps,

Daniel Pineault
For Access Tips and Examples: http://www.cardaconsultants.com/en/msaccess.php
If this post was helpful, please rate it by using the vote buttons.



Ricoy-Chicago said:
using Access XP.
Stundet at the school I work have to fill out an instrucotr's evaluation, i
disabled the [Close] button on the form and I hid the menu and icon bars, no
problem here.
The problem is that the close button associated with the title bar is still
displayed! The title bar displays the name of the application and the student
can use the [Close] button to terminate the application! IS there a way to
hide/disable this [Close] button?

thank you for your help
 
Back
Top