Ingo,
> The same I thought too, but when I assigned it with different values
> nothing
> happens. The report looks always like before.
You should change the value of that data on the OnInit event since is
recalculated every time the report is runned. BTW that property should not
be public or at least read only and it maybe out of scope on future releases
of Xailer.
> The horizontal lines above and under the headers and the totalline have
> gaps
> between the columns like that:
> ____________ _____________ ____________
>
> How to do make them like that:
>
> _______________________________________________
oReport:nGroupLine := rlNONE
oReport:OnEndGroup := {|oRep, oGrp| PrintLine( oRep, oGrp ) }
static function PrintLine( oRep, oGrp )
local oColBeg, oColEnd
oColBeg := oRep:aColumns[ 1 ]
oColEnd := oRep:aColumns[ -1 ]
With object oRep:oDevice:oCanvas
:MoveTo( oColBeg:nCol, oRep:nRow )
:LineTo( oColEnd:nCol + oColEnd:nWidth, oRep:nRow )
End With
return nil
Right now oReport:nRow is protected, I have just changed in the class to
public. You can do the same just including this code:
CLASS TReport FROM XReport
PUBLIC:
DATA nRow
ENDCLASS
Regards,
"Ingo" <
ingo.jh@web.de> escribió en el mensaje
news:43a81b84$[email=
1@ozsrvnegro.ozlan.local...]
1@ozsrvnegro.ozlan.local...[/email]
> Ignacio
>
>>> 1. What the importance of oRpt:nSeparator ?
>>
>> That is just the the distance in pixels to separate columns for example.
>> Its measure is exactly the width of the "B" letter in conjuntion with the
>> first defined font.
>
> The same I thought too, but when I assigned it with different values
> nothing
> happens. The report looks always like before.
>
>>> 4. How to eliminate the breaks in the horizontal lines? See picture
>>> "report2.bmp".
>>
>> Take off the group. Sorry, maybe I'm missing something. Please explain.
>
> The horizontal lines above and under the headers and the totalline have
> gaps
> between the columns like that:
> ____________ _____________ ____________
>
> How to do make them like that:
>
> _______________________________________________
>
> Regards
>
> Ingo
>
>