>In a grid turning the focus is hard,If a use rplace key meathed,for examle use 'dnarrow' repalce 'enter'
>,how to do this?
>
>
>
>
>
>thank you for you help
*Keypress
lparameters ...
if nKeyCode = dnarrowcode
nodefault
keyboard '{enter}'
endif
But this needs to be coded in every control that would use it. Alternative way is to check in beforerowcolchange and act upon not using key codes but actions like skip, activatecell etc.
Cetin