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

TGridColumn.FixDesignFontsPPI

Corrects the design-time PPI for the column title.

Declaration

Source position: grids.pas line 602

public procedure TGridColumn.FixDesignFontsPPI(

  const ADesignTimePPI: Integer

); virtual;

Description

FixDesignFontsPPI is a procedure used to correct the design-time Pixels Per Inch setting for the component. Pixels Per Inch for Fonts is not saved in LFM files, and the design-time setting may differ from the run-time setting on a target machine. This adversely affects font scaling.

FixDesignFontsPPI calls the DoFixDesignFontPPI method in the Grid control to adjust the font PPI to the value specified in ADesignTimePPI.

See also

TGridColumn.Font

  

The font used for text displayed in the column.

TGridColumn.Grid

  

The grid control to which this column belongs.

TControl.DoFixDesignFontPPI

  

Applies the design-time PPI and resizes the specified control font.


Version 4.0 Generated 2025-05-03 Home