Hi there,
in my grid is (under some conditions) text shown with bold style.
In NextGrid5 this works perfect (see Screenshot "grid5").
In NextGrid6 the size of the font is getting reduced (see File "grid6").
if i remove the fsbold-Style, the fontsize is restored.
I use this code for Nextgrid6:
if (FieldbyName('STROK').AsString <> 'X') then begin for iCnt := 0 to gvData.Columns.Count -1 do begin gvData.CellBy[iCnt, intRowcnt].Font.Style := gvData.Cell[iCnt, intRowcnt].Font.Style + [fsBold]; end; end;
For NextGrid5, the code is the same, except the property is ".FontStyle"
What can i do to preserve the fontsize?
Best regards
Frank
Edit: I've noticed the same behavior on changing the color of the font (see "grid6-2.png")