Sign in Join
FPDoc Onlineexperiment

TCustomGrid.GetEditMask function

Member of TCustomGridprotectedIn unit Grids

Gets the edit mask for the specified cell.

Declaration

pascal
function GetEditMask(ACol: LongInt; ARow: LongInt): string; virtual

Arguments

ACol

Column number for the cell.

ARow

Row number for the cell.

Function result

Edit mask for the specified cell.

Description

GetEditMask provides the mask posted in a grid message to an active cell Editor control. It occurs immediately before the grid message that posts the cell value to the editor control.

GetEditMask always returns an empty string ('') in TCustomGrid. It is overridden in descendent classes.

See also

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