|
-
July 23rd, 1999, 12:40 AM
#4
Re: How I can remove ALT+F4 from a dialog box?..
Set it to True or 1.
use Cancel = 1 . Cancel is defined as integer in QueryUnload and Unload events!!
But this code will also stop the unload from 'X' of the Form Control menu!!
private Sub Form_QueryUnload(Cancel as Integer, UnloadMode as Integer)
If UnloadMode = 0 then Cancel = 1
Debug.print UnloadMode
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|