G
Guest
How do I disable the Ctrl+F4 keys, I want to prevent the user from closing
any Forms using these keys.
Thanx!
any Forms using these keys.
Thanx!
Allen Browne said:Create a macro named AutoKeys.
In the MacroNames column (View menu if you don't see it), enter:
^{F4}
and then specify a harmless action such as Beep.
The more fundmental question is what you are aiming to achieve here. If you
are trying to prevent a user from closing a form, you would also need to
handle Alt+F4, the application close button, File | Close, File | Exit, and
so on. Would it achieve your purpose to put some code into the BeforeUpdate
event of the form, so that you can manage any changes to the data before the
form is closed?