ComponentOne True DBGrid Pro 8
AfterDelete Event

 

Object Reference> True DBGrid Events> AfterDelete Event

AfterDelete Event

The AfterDelete event occurs after the user deletes a selected record from the grid.

Syntax

TDBGrid_AfterDelete ( )

Arguments

None

Remarks

When the user selects a record selector in the grid and presses Del or Ctrl+X, the BeforeDelete event is executed, and unless canceled, the row is deleted. Once the row is deleted, the AfterDelete event is executed.

While the AfterDelete event procedure is executing, the bookmark of the deleted row is available in the collection provided by the SelBookmarks property.

The AfterDelete event cannot be canceled. It is fired in both bound and unbound modes.

See Also

TDBGrid Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback