TMSFNCGrid Font property not working

Windows 10 / Lazarus 2.2.4 / TMSFNC UI Pack 4.1.0.2

Hi,

changing the grid Font property doesn't seem to work, not in design time (with demo data enabled) nor in runtime. Assigning different font sizes for columns by code also not working.

Best regard

You need to set the font settings separately for each layout, eg

  TMSFNCGrid1.Appearance.FixedLayout.Font.Size := 20;
  TMSFNCGrid1.Appearance.NormalLayout.Font.Size := 14;
  TMSFNCGrid1.Appearance.BandLayout.Font.Size := 14;

Pawel,

thank you, that seems to work. Is this a workaround, or the way it is designed? What is the grid Font property for, when it doesn't seem to work?

Setting the font size cell wise with Grid.FontSizes[ACol, ARow] is working, but not Grid.Columns[].Font.Size column wise.

What is the suggested way to assign font size/font style and text alignment for the cell editors?

Best regards