Retry-Closing access from x (top right) box 
Author Message
 Retry-Closing access from x (top right) box

Sorry, finger slipped and prematurely sent last message.
VBA mentions intercepting close from x button using:
Private Sub UserForm_QueryClose(Cancel As Integer,
CloseMode As Integer)
This doesn't seem to work in Access (2000).
Is there a way of intercepting this, and more
particularly, preventing Quit of access using top level "x"

Any help appreciated

Ian B



Sat, 18 Mar 2006 10:19:28 GMT  
 Retry-Closing access from x (top right) box
You could set the Close Button property of your form to No, which will
disable the "x".

--
Cheryl Fischer
Law/Sys Associates
Houston, TX


Quote:
> Sorry, finger slipped and prematurely sent last message.
> VBA mentions intercepting close from x button using:
> Private Sub UserForm_QueryClose(Cancel As Integer,
> CloseMode As Integer)
> This doesn't seem to work in Access (2000).
> Is there a way of intercepting this, and more
> particularly, preventing Quit of access using top level "x"

> Any help appreciated

> Ian B



Sat, 18 Mar 2006 21:28:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Errors when closing a workbook using top right close (x) button

2. Errors when closing a workbook using top right close (x) button

3. Can't close using X in top right hand corner

4. Exit from each form replicating the small red box at top right cor

5. Cancel button and X button in top right corner of message box

6. Hide Close, Minimize and Maximize at top of access window

7. Disabling the Switchto Retry Dialog box

8. Closing a dialogue box with the "x" in the top right corner

9. Select Top 10 returns 13, as does Top 5, Top 1

10. Top left, bottom right


 
Powered by phpBB® Forum Software © phpBB Group