[Lazarus] LazReport Band.name patch
Jesus Reyes
jesusrmx at yahoo.com.mx
Sat Feb 2 20:24:15 CET 2013
--- El sáb 2-feb-13, Giuliano Colla <giuliano.colla at fastwebnet.it> escribió:
> De: Giuliano Colla <giuliano.colla at fastwebnet.it>
> Asunto: LazReport Band.name patch
> A: lazarus at lists.lazarus.freepascal.org
> Cc: "Jesus Reyes" <jesusrmx at yahoo.com.mx>
> Fecha: sábado, 2 de febrero de 2013, 8:32
> While implementing an application
> which uses LazReport, trying to take advantage of
> OnBeginBand I discovered that Band.Name is never set and is
> left as an empty string.
> This can be annoying if you have more than one Band of the
> same type, so that Band.Typ is not enough to tell the right
> band.
> Here attached two patches which for me fixed the issue, one,
> an svn diff, for the svn version 2.4, and the other, a plain
> diff, for the current Lazarus release (1.0.4) version, i.e.
> 2.3.
> Maybe it can be done much better, but just in case...
>
> Giuliano
>
>
Thanks, applied in trunk (r40127). It's too late for including in next release (1.0.6) will have to wait 1.0.8
Jesus Reyes A.
More information about the Lazarus
mailing list