請問stringgrid的最上面鎖定的第一行,也就是fixedrows如何改變字體呢?謝謝
uj5u.com熱心網友回復:
有人解答下嗎?謝謝uj5u.com熱心網友回復:
試了一下,不行procedure TForm17.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer; Rect: TRect; State: TGridDrawState);
begin
// if (ACol = 0) and (ARow = 0) then
begin
StringGrid1.Canvas.Font.Color := clRed;
end;
end;
uj5u.com熱心網友回復:

用stringgrid的ONDrawCell控制即可
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/104466.html
標籤:語言基礎/算法/系統設計
