Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.CheckDisplayMemo function

Member of TCustomDBGridprotectedIn unit DBGrids

Indicates if the field is a Memo that needs to be displayed in the grid.

Declaration

pascal
function CheckDisplayMemo(aField: TField): Boolean

Arguments

aField

Field examined in the method.

Function result

True if the field is a memo field type and the display memo text option is enabled.

Description

CheckDisplayMemo is a Boolean function used to determine if the specified field is a Memo field that needs to be displayed in the grid control. The return value is True when the specified field has the value ftMemo in its DataType property, and the Options property includes the value dgDisplayMemoText.

CheckDisplayMemo is called from various methods which measure or render the content for the grid, including:

  • DefaultDrawCell
  • DefaultDrawColumnCell
  • DrawColumnText
  • GetEditText
  • GetTruncCellHintText
  • EditorCanAcceptKey

See also

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