Subject Re: [IBO] IB_Grid: Why is AFont declared const ?
Author Nando Dessena

> in the event functions OnGetCellProps and OnGetCellFont of a TIB_Grid
> the parameter AFont is declared as const. Why?

to prevent you from changing the reference (which is a good thing), I

> I get compiler warnings (BCB5) when I change the font saying that I'm
> trying to change a const object.

Delphi would have issued an error instead of just a warning.
Anyway, you should change AFont's properties; if you have another TFont
object and you want to copy it over AFont, use the Assign method.