Greetings,
all data stored in a memtable and shown by the livegrid. (Livebindings).
Now i want that som rows get some color. But every row, which get any color get also fsbold font.
All normallayoutsettings are [] only the fixedlayoutsettings have [fsbold]. Only the frst Row is fixed.
It makes no diffrence where the colored row is.
FDMemTable1.Open;
FDMemTable1.BeginBatch;
for I := 0 to xdtList.Count -1 do
begin
FDMemTable1.Append;
dict2.TryGetValue(copy(xdtList, 4, 4), row_color);
if (row_color <> '') then
begin
alpha_color := StringToAlphaColor(row_color);
for Acol := gridXDT.FixedColumns to gridXDT.ColumnCount-1 do
gridXDT.Colors[Acol, i+1] := alpha_color;
end;
FDMemTable1.FieldByName('ID').AsInteger := i+1;
FDMemTable1.FieldByName('Laenge').AsString := Copy(xdtList, 0, 3);
FDMemTable1.FieldByName('Feldkennung').AsString := Copy(xdtList, 4, 4);
FDMemTable1.FieldByName('Inhalt').AsString := Copy(xdtList, 8, (Length(xdtList)-7));
dict.TryGetValue(Copy(xdtList, 4, 4), temp);
FDMemTable1.FieldByName('Feldbezeichnung').AsString := temp;
end;
FDMemTable1.Post;
FDMemTable1.EndBatch;
Any Ideas how to make the fontstyle empty.
excuse my bad english.