>IF there is a key (down arrow) to insert record in grid, is there a default key to delete records in grid?
>
>How can I know when the grid lost the focus?
>
>Is there a method that fire just before the deleted method? I would like to show a warning to the user if he confirms the delete operation?
I think that the default delete key is alt+t, but I would use something like ...
ON KEY LABEL SHIFT+DEL Do deleteproc
PROC deleteproc
if not deleted()
DELETE
else
RECALL
endif
return
And use the grid.deleteevent method to prompt the user to confirm deletion.
(I have not done this yet, so it is just my best guess. Let me know if I am wrong or if you find a better way)
Larry //:^)