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

TCustomGrid.CanEditShow

Indicates whether the cell editor can be displayed and focused in the current column.

Declaration

Source position: grids.pas line 994

protected function TCustomGrid.CanEditShow: Boolean; virtual;

Function result

True at run-time when the column allows focus and editing.

Description

CanEditShow is a Boolean function which Indicates whether the cell Editor can be displayed and focused in the current grid column. The return value is False at design-time. The return value is True if Options includes the value goEditing, and the column number in Col is valid and not in a fixed row.

When Columns have been Enabled in the grid control, the return value is set to False when the column is marked as ReadOnly in the column definition.

CanEditShow is called from the EditorShow method.

See also

TCustomGrid.Columns

  

Definitions for the columns displayed the grid.

TCustomGrid.Editor

  

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

TCustomGrid.EditorShow

  

Displays the Editor for the selected cell.

TGridColumns.Enabled

  

Indicates if the column collection is enabled.

TGridColumn.ReadOnly

  

True if the values in the column cannot be changed at run-time using the cell editor.


Version 4.0 Generated 2025-05-03 Home