[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.AutoAdvance

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

Declaration

Source position: grids.pas line 1221

protected property TCustomGrid.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

TCustomGrid.TabAdvance

  

Controls the behavior for Tab navigation in the grid control.

TCustomGrid.MoveNextAuto

  

Moves to the next cell in the auto-advance sequence.

TCustomGrid.CheckPosition

  

Determines if the cell can be selected, or finds a suitable position using auto-advance.

TCustomGrid.Editor

  

The editor control used to modify the value in the current cell.

TAutoAdvance

  

Enumerated type with values controlling grid auto advance behavior.


Version 3.2 Generated 2024-02-25 Home