Sign in Join
FPDoc Onlineexperiment

TCustomGrid.GetTitleShowPrefix function

Member of TCustomGridprotectedIn unit Grids

Gets the prefix option for the title in the specified column number.

Declaration

pascal
function GetTitleShowPrefix(Column: Integer): Boolean

Arguments

Column

Column number examined in the method.

Function result

True when the TGridColumn is configured to use prefixes.

Description

GetTitleShowPrefix determines whether the DT_NOPREFIX DrawText flag is included in the Canvas text style for the specified column. When GetTitleShowPrefix returns False, the DT_NOPREFIX flag in included in the text style.

GetTitleShowPrefix is called from the PrepareCanvas method when drawing a cell in the fixed rows for the grid.

See also

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