abort delete problem



I'm Using D7

In a TadoDataset I'm using the BeforeDelete event to get user confirmation
after he hit's the delete button to delete one or more rows in a grid. I've
noticed that if the user clicks "no" to my confirmation message, even though
I'm aborting the delete, the pointer still moves to the row above the one
the user was on. This only occurs if the bottom row was focused when trying
to delete. I know this is supposed to happen if the delete takes place but
why would it move the record pointer if no delete occurs?

Thanks,

Keith


.


Quantcast