Sign in Join
FPDoc Onlineexperiment

TCustomGrid.AdjustEditorBounds procedure

Member of TCustomGridprotectedIn unit Grids

Updates the selected cell and sets the bounds for the optional cell Editor.

Declaration

pascal
procedure AdjustEditorBounds(NewCol: Integer; NewRow: Integer); virtual

Arguments

NewCol

Column number for the current cell selection in the grid.

NewRow

Row number for the current cell selection in the grid.

Description

Calls SetColRow to update the values in the Col and Row properties. Values in NewCol and NewRow are stored in the corresponding property.

When EditorMode is set to True, the private EditorPos method is called to position the Editor to the new cell selection.

See also

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