Ingo,
> I see there's nothing else for me but to do this workaround as long as the
> property nLineHeight will be not really assignable yet.
Try this:
RUN REPORT oReport ON CHANGED oReport:NewLine( Int( oReport:nLineHeight /
2 ) )
Changing the value oReport:nLineHeight did not work due an error in the
class. Now is only calculated if its value is zero.
The report engine calculates the height necessary to print the complete data
row of all the columns, every colum may print more than one row and even use
different fonts on every row. So oReport:nLineHeight is just the standard
line height based on first font defined, but is not the height of every data
row. For this reason I recommend to use the expression above that will
always work, no matter how many lines are defined on every column and the
fonts they used.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:450e9820$[email=
1@news.xailer.com...]
1@news.xailer.com...[/email]
>
> Ignacio,
>
> thank you for the reply.
>
>>Try to change the value on the OnInit event.
>
> I did it before I posted here, but it didn't work.
>
>>BTW an easier way to do it is
>>to put an empty line on any of the columns:
>>
>>COLUMN oCol DATA Dbf->Field1, ""
>>
>>This code will print an empty row more after the data.
>
> The half of the rowheight would be better.
>
> I see there's nothing else for me but to do this workaround as long as the
> property nLineHeight will be not really assignable yet.
>
> Regards
>
> Ingo
>
>>
>>Regards,
>>
>>--
>>Ignacio Ortiz de Zúñiga
>>
http://www.xailer.com
>>"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
>
>>news:450cfe43$[email=
1@news.xailer.com...]
1@news.xailer.com...[/email]
>>>
>>> Hallo,
>>>
>>> how to change the height of reportlines?
>>>
>>> Assigning a greater value to oReport:nLineHeight doesn't work.
>>>
>>> Regards
>>>
>>> Ingo
>>>
>>
>>
>