--- El jue 21-ene-10, Graeme Geldenhuys <[email protected]> escribió:

> De:: Graeme Geldenhuys <[email protected]>
> Asunto: [Lazarus] DBGrid painting confusion
> A: "Lazarus mailing list" <[email protected]>
> Fecha: jueves 21 de enero de 2010, 11:56
> Hi,
> 
> Inside TCustomDBGrid.DefaultDrawColumnCell, the code looks
> as follows:
> 

snip

> 
> 
> My confusion is the call to DrawCellText(). The parameter
> list for
> DrawCellText() is shown below. So why is the method above
> passing the
> "DataCol" variable in the aRow parameter? Shouldn't the
> DataCol be
> passed as the aCol parameter instead?  Also, why is
> aCol always 0 in
> the call to DrawCellText()?
> 
>

I understand the confusion, it was a mix of typo and incomplete implementation, 
fixed in r 23526.

Jesus Reyes A.



      Encuentra las mejores recetas en Yahoo! Cocina.                       
http://mx.mujer.yahoo.com/cocina/

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

Reply via email to