Skip to main content

TcxCustomDataController.OnBeforeCancel Event

Occurs before canceling modifications to the active record if working in unbound or provider mode.

Declaration

property OnBeforeCancel: TcxDataControllerNotifyEvent read; write;

Remarks

Write an OnBeforeCancel event handler to perform specific actions before the changes to the active record are canceled. The OnBeforeCancel event is called by the Cancel method.

Handle the OnAfterCancel event to respond after canceling the modifications to the active record.

See Also