>i have a grid from which i want to let the user delete lines. if they hit the 'Del' button on the keyboard, in the KeyPress event i have code to confirm deletion and then delete the record. problem is that the column in which i allow the delete to be initiated is ReadOnly and vfp pops up a system message 'this control is read only'. hwo can i get rid of this vfp message?
>tia
After the your delete process, The system continues with the Delete function of the KeyPress.
Add NODEFAULT after your delete process.
Tracy