Sign in Join
FPDoc Onlineexperiment

TCustomGrid.AutoAdvance property

Member of TCustomGridprotectedIn unit Grids

Direction used when automatically moving the selection to the next selectable cell.

Declaration

pascal
property AutoAdvance: TAutoAdvance read FAutoAdvance write FAutoAdvance default aaRight;

Description

AutoAdvance is a TAutoAdvance property which indicates the direction of movement applied when the Enter key is pressed to finish editing in an active cell Editor.

The default value for the property is aaRight, and indicates the cell selection advances to the right until it reaches the last column in the grid control. Use aaNone to disable the auto-advance feature.

For more information about acceptable values and their usage, please refer to TAutoAdvance.

AutoAdvance is used in methods like MoveNextAuto and CheckPosition.

Use TabAdvance to control the direction of movement used when the Tab key is pressed.

See also

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