TCustomDBGrid.BeforeMoveSelection procedure
Performs actions needed before the selected column in the grid is changed.
Declaration
procedure BeforeMoveSelection(const DCol: Integer; const DRow: Integer)
; overrideArguments
DCol | Destination column for the selection change. |
DRow | Destination row for the selection change. |
Description
BeforeMoveSelection is an overridden method in
TCustomDbGrid used to perform actions needed before the selected
column in the grid is changed.
DCol and
DRow contain the column and row number for the
cell selection that will be selected following the selection change.
BeforeMoveSelection calls the inherited method on entry to signal the OnBeforeSelection event handler (when assigned). When DCol is different than the value in the Col property, the OnColExit event handler is signalled (when assigned). An internal flag is set to indicate that a column enter event is pending.
BeforeMoveSelection is called from the inherited MoveExtend method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
