LPARAMETERS nKeyCode, nShiftAltCtrl DO CASE CASE INLIST(nKeyCode,13,24,5) NODEFAULT ENDCASEIf you don't know the keycodes that you want to prevent, you can enter the following in the command window:
ON KEY LABEL DNARROW WAIT WINDOW LASTKEY() *-- Then press the down arrow, you will see the keycode in the wait window. *-- Now clear the command. ON KEY LABEL DNARROW