I am wanting to change the color based on a value. The cell already exists and I am not sure how I am going to fire either OnDrawCell or OnPrepareCanvas. But I am probably totally misunderstanding it.

On 11/17/2012 05:33 AM, William Oliveira Ferreira wrote:
Juha, why not use onDrawCell ? Is there any performance issue?

2012/11/17 Juha Manninen <[email protected] <mailto:[email protected]>>

    On Sat, Nov 17, 2012 at 2:31 AM, Terry A. Haimann
    <[email protected] <mailto:[email protected]>> wrote:
    > How do you change the Font Color for a TStringGrid Cell?

    Use the OnPrepareCanvas event.

    Juha

    --
    _______________________________________________
    Lazarus mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
________________________________
William de Oliveira Ferreira



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to