[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TComponentDataLink.DataSetScrolled

Signals the OnDataSetScrolled event handler when assigned.

Declaration

Source position: dbgrids.pas line 217

protected procedure TComponentDataLink.DataSetScrolled(

  Distance: Integer

); override;

Arguments

Distance

  

Number of records for the event notification.

Description

DatasetScrolled is a procedure used to signal the OnDataSetScrolled event handler when it has been assigned in the class instance. DatasetScrolled is used in data sources or controls which change the active record for the linked Dataset. These classes can implement and assign a handler routine to perform actions specific to the control.

TCustomDBGrid provides a default implementation for the OnDataSetScrolled event handler which performs the following control-specific actions:

See also

TComponentDataLink.OnDatasetScrolled

  

OnDataseScrolled - event handler when the dataset is scrolled.

TDataLink.ActiveRecord


Version 4.0 Generated 2025-05-03 Home