Midware TMWTable.AfterCancel

From Overbyte
Jump to navigation Jump to search

Main page -> Midware component reference -> TMWTable -> AfterCancel

Definition

proporty AfterCancel:TDataSetNotifyEvent;

Description

Occurs after an application completes a request to cancel modifications to the current record.

Write an AfterCancel event handler to take specific action after an application cancels changes to the current record. AfterCancel is called by the Cancel method after it updates the cursor position, releases the lock on the current record if necessary, and sets the dataset state to dsBrowse. If an application requires additional processing before returning control to a user after a Cancel event, code it in the AfterCancel event.