Einar,
Don't PACK the table, it's causing the grid to self destruct and rebuild itself with VFP baseclass controls. This is why you are losing your custom code and properties in the grid. All you have to do is a SKIP to get the deleted records "out" of the grid.
PACK is something you really only want to do in a database maintenance program anyway, not every time a user deletes a single row.
>After the record has been deleted and the table packed the grid is blank ie. all its properties are set to default.