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

TCustomGrid.EditorKey

Indicates if the last key event was triggered by the cell Editor for the grid control.

Declaration

Source position: grids.pas line 1219

protected property TCustomGrid.EditorKey : Boolean
  read FEditorKey
  write FEditorKey;

Description

EditorKey is a Boolean property which indicates if the last key event was generated by the cell Editor for the grid control. The property value is updated in the OnKeyDown, OnKeyPress, and OnKeyUp event handlers used in the Editor control. Its value is used in method like KeyDown, KeyPress, and KeyUp to determine whether a given key needs to be applied / handled for the grid control.

See also

TCustomGrid.Editor

  

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

TCustomGrid.KeyDown

  

Handles key down events for the grid control.

TCustomGrid.KeyPress

  

Applies the specified key press to the control.

TCustomGrid.KeyUp

  

Invokes the OnKeyUp handler.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.