[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Specifies an event handler signalled after scrolling a dataset.
Source position: dbgrids.pas line 94
type TDataSetScrolledEvent = procedure( |
DataSet: TDataSet; |
Distance: Integer |
) of object; |
DataSet |
|
Dataset for the event. |
Distance |
|
Number of rows and direction for the event. |
TDatasetScrolledEvent specifies an event handler signalled after scrolling a dataset. TDatasetScrolledEvent can be used to perform actions required when the position in the DataSet has changed.
DataSet is the TDataset instance for the event notification.
Distance indicates both the number of rows and the direction for the event notification, for example:
TDatasetScrolledEvent is the type used for the OnDataSetScrolled property in TComponentDataLink.
See the TCustomDBGrid.OnDataSetScrolled procedure for an example implementation of TDatasetScrolledEvent.
Version 3.2 | Generated 2024-02-25 | Home |