[Lazarus] Stringgrid ?

Terry A. Haimann terry at HaimannOnline.com
Sat Nov 17 15:21:52 CET 2012


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 <juha.manninen62 at gmail.com 
> <mailto:juha.manninen62 at gmail.com>>
>
>     On Sat, Nov 17, 2012 at 2:31 AM, Terry A. Haimann
>     <terry at haimannonline.com <mailto:terry at haimannonline.com>> wrote:
>     > How do you change the Font Color for a TStringGrid Cell?
>
>     Use the OnPrepareCanvas event.
>
>     Juha
>
>     --
>     _______________________________________________
>     Lazarus mailing list
>     Lazarus at lists.lazarus.freepascal.org
>     <mailto:Lazarus at lists.lazarus.freepascal.org>
>     http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>
>
> -- 
> ________________________________
> William de Oliveira Ferreira
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20121117/88a56c68/attachment-0003.html>


More information about the Lazarus mailing list