Sign in Join
FPDoc Onlineexperiment

TGridColumnTitle.IsDefault function

Member of TGridColumnTitlepublicIn unit Grids

Returns True if the column title uses the default property values.

Declaration

pascal
function IsDefault: Boolean

Function result

True if the column title uses the default property values.

Description

IsDefault is a Boolean function used to determine if the column title uses the default values assigned when the class instance was created. The return value is True when all of the following conditions are met:

  • Alignment is Nil (unassigned).
  • Caption is Nil (unassigned).
  • Color is Nil (unassigned).
  • Layout is Nil (unassigned).
  • ImageIndex is 0 (zero).
  • ImageLayout is blGlyphRight.
  • IsDefaultFont returns True.

IsDefault is when the columns for the parent grid are streamed using the LCL component streaming mechanism. Columns which contain default values (including the title) are not written during component streaming.

See also

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