LPARAMETERS pKey, pSCA DO CASE CASE pkey = 5 AND pSCA = 0 && down arrow && do some stuff - this works correctly NODEFAULT && to avoid double keystrokes CASE pkey = 24 AND pSCA = 0 && up arrow && do some stuff - this also works correctly NODEFAULT && to avoid double keystrokes ENDCASEIOW just don't allow the kestrokes you handle to go through Arnon > >What is wrong with this? Why do TABs and Shift-TABs no longer move the focus to the next and previous controls respectively? > >This is a different class from the one that originally gave me this problem. > >Thanks in advance.