▼ Mr.XRAYさん
DrawCellの
> TheText := CellText[ACol, ARow];
> with ARect, Canvas do
> TextRect(ARect, Left + (Right - Left - TextWidth(TheText)) div 2,
> Top + (Bottom - Top - TextHeight(TheText)) div 2, TheText);
の部分は、
inherited DrawCell(ACol, ARow, ARect, AState)
としても、OKかもですね。
|