Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TMS FMX UI Pack
TTMSFMXGrid: changing fixed cell font color
TTMSFMXGrid: changing fixed cell font color
To change the text color of fixed cells in the grid, following code can be used:
procedure TForm1.TMSFMXGrid1GetCellLayout(Sender: TObject; ACol, ARow: Integer; ALayout: TTMSFMXGridCellLayout; ACellState: TCellState); begin if (ARow = 0) then ALayout.FontFill.Color := claOrange; end;