[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.GetTitleShowPrefix

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

Declaration

Source position: grids.pas line 1097

protected function TCustomGrid.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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.