In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
TReport:nLineHeight
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
TReport:nLineHeight
Hallo,
how to change the height of reportlines?
Assigning a greater value to oReport:nLineHeight doesn't work.
Regards
Ingo
how to change the height of reportlines?
Assigning a greater value to oReport:nLineHeight doesn't work.
Regards
Ingo
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TReport:nLineHeight
Ingo,
Try to change the value on the OnInit event. 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.
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
>
Try to change the value on the OnInit event. 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.
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
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
TReport:nLineHeight
Ingo,
Try to change the value on the OnInit event. 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.
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
>
Try to change the value on the OnInit event. 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.
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
>
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
TReport:nLineHeight
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
>>
>
>
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
>>
>
>
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
TReport:nLineHeight
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
>>
>
>
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
>>
>
>
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TReport:nLineHeight
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
>>>
>>
>>
>
> 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
>>>
>>
>>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
TReport:nLineHeight
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
>>>
>>
>>
>
> 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
>>>
>>
>>
>
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
TReport:nLineHeight
Ignacio,
>Try this:
>
>RUN REPORT oReport ON CHANGED oReport:NewLine( Int( oReport:nLineHeight
/
>2 ) )
This is only working at the beginning of the next report row and not at every
data row and unuseable to change the distance between every data row.
>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.
This explanation was very, very helpful. Now I could solve the problem in
this way:
1. creating a bigger (oFont1) and a smaller fontobject (oFont2)
2. creatng the Report with .. FONT oFont1,oFont2
3. starting the Report with
RUN REPORT oReport ON INIT oReport:aFonts[1]:=oReport:aFonts[2]
Thank you very much for your help
Regards
Ingo
>Try this:
>
>RUN REPORT oReport ON CHANGED oReport:NewLine( Int( oReport:nLineHeight
/
>2 ) )
This is only working at the beginning of the next report row and not at every
data row and unuseable to change the distance between every data row.
>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.
This explanation was very, very helpful. Now I could solve the problem in
this way:
1. creating a bigger (oFont1) and a smaller fontobject (oFont2)
2. creatng the Report with .. FONT oFont1,oFont2
3. starting the Report with
RUN REPORT oReport ON INIT oReport:aFonts[1]:=oReport:aFonts[2]
Thank you very much for your help
Regards
Ingo
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
TReport:nLineHeight
Ignacio,
>Try this:
>
>RUN REPORT oReport ON CHANGED oReport:NewLine( Int( oReport:nLineHeight
/
>2 ) )
This is only working at the beginning of the next report row and not at every
data row and unuseable to change the distance between every data row.
>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.
This explanation was very, very helpful. Now I could solve the problem in
this way:
1. creating a bigger (oFont1) and a smaller fontobject (oFont2)
2. creatng the Report with .. FONT oFont1,oFont2
3. starting the Report with
RUN REPORT oReport ON INIT oReport:aFonts[1]:=oReport:aFonts[2]
Thank you very much for your help
Regards
Ingo
>Try this:
>
>RUN REPORT oReport ON CHANGED oReport:NewLine( Int( oReport:nLineHeight
/
>2 ) )
This is only working at the beginning of the next report row and not at every
data row and unuseable to change the distance between every data row.
>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.
This explanation was very, very helpful. Now I could solve the problem in
this way:
1. creating a bigger (oFont1) and a smaller fontobject (oFont2)
2. creatng the Report with .. FONT oFont1,oFont2
3. starting the Report with
RUN REPORT oReport ON INIT oReport:aFonts[1]:=oReport:aFonts[2]
Thank you very much for your help
Regards
Ingo