TEWBDataSetEvent = function (Sender: TObject): Boolean of object
The TEWBDataSetEvent type is used by the TEWBDataSetBeforeOpen, BeforeClose, BeforeScroll, BeforeInsert, BeforeUpdate, BeforeSave, BeforeCancel, BeforeDelete, and BeforeLoad events.
The Sender parameter is the TEWBDataSet instance that triggered the event. Return True from the event to allow the applicable dataset functionality to continue, or False to prevent the functionality from occurring.