Data.DB.TDataSet.BeforeEdit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeEdit: TDataSetNotifyEvent read FBeforeEdit write FBeforeEdit;

C++

__property TDataSetNotifyEvent BeforeEdit = {read=FBeforeEdit, write=FBeforeEdit};

Properties

Type Visibility Source Unit Parent
event public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Occurs before an application enters edit mode for the active record.

Write a BeforeEdit event handler to take specific action before an application enables editing of the active record. For example, an application that keeps a log of database edits could use the BeforeEdit event to record the edit request, time, and user before entering edit state.

BeforeEdit is an event handler of type Data.DB.TDataSetNotifyEvent.

See Also

Code Examples