Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.MoveSelection procedure

Member of TCustomDBGridprotectedIn unit DBGrids

MoveSelection changes the current selection in the control.

Declaration

pascal
procedure MoveSelection; override

Description

MoveSelection causes the current selection in the control to be changed. MoveSelection calls the inherited MoveSelection method. If the selection change causes a different column to become active, the OnColEnter event handler is signalled (when assigned). MoveSelection calls the UpdateActive method to ensure that the correct row and/or column are drawn in the control.

See also

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