Sign in Join
FPDoc Onlineexperiment

TDataSet.BeforeRefresh property

Member of TDataSetpublicIn unit DB

Event triggered before the data is refreshed.

Declaration

pascal
property BeforeRefresh: TDataSetNotifyEvent read FBeforeRefresh write FBeforeRefresh;

Description

BeforeRefresh is triggered at the start of the Refresh method, after the dataset has been put in browse mode. If the dataset cannot be put in browse mode, the BeforeRefresh method will not be triggered. If an exception is raised during the BeforeRefresh method, then the refresh method is cancelled and the dataset remains in the dsBrowse state.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.