Home > Back-end >  Stringgrid fixedrows how to change the font?
Stringgrid fixedrows how to change the font?

Time:10-02

Stringgrid, please the first line of the top of the lock, namely fixedrows how to change the font? thank you

CodePudding user response:

Someone answer? thank you

CodePudding user response:

Not tried,
 procedure TForm17. StringGrid1DrawCell (Sender: TObject; ACol, ARow: Integer; The Rect: TRect; State: TGridDrawState); 
The begin
//if (ACol=0) and (ARow=0) then
The begin
StringGrid1. Canvas. The Font Color:=clRed;
end;
end;

CodePudding user response:


Use stringgrid ONDrawCell control
  • Related