Sign in Join
FPDoc Onlineexperiment

TCustomGrid.CanEditShow function

Member of TCustomGridprotectedIn unit Grids

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

Declaration

pascal
function 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

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