Página 1 de 1
TReport
Publicado: Sab Abr 22, 2006 10:17 am
por Ingo Junge-Herrmann
Hello,
printing each record of a dbf with 3 lines I want to prevent from breaking
the page between this 3 lines by using the OnChanged-event of TReport. I
need now the pagelength in pixels to compare the oReport:nRow with.
Is there a property of TReport holding the pagelength in pixels for using
the OnChanged-event like that:
oReport:OnChanged:={||IIF(oReport:nRow>oReport:???,; oReport:NewPage(),)}
Thanks in advance
Ingo
TReport
Publicado: Lun Abr 24, 2006 9:31 am
por ignacio
Ingo,
Use the method LinesLeft() wichh returns the number of lines left on the
page. The documentation of TReport is already done in Spanish and right now
is being translated into English. I hope it will be ready really soon.
Regards,
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:4449e6aa$[email=
1@ozsrvnegro.ozlan.local...]
1@ozsrvnegro.ozlan.local...[/email]
>
> Hello,
>
> printing each record of a dbf with 3 lines I want to prevent from breaking
> the page between this 3 lines by using the OnChanged-event of TReport. I
> need now the pagelength in pixels to compare the oReport:nRow with.
>
> Is there a property of TReport holding the pagelength in pixels for using
> the OnChanged-event like that:
>
> oReport:OnChanged:={||IIF(oReport:nRow>oReport:???,; oReport:NewPage(),)}
>
> Thanks in advance
>
> Ingo
>
>
TReport
Publicado: Lun Abr 24, 2006 9:31 am
por NoName
Ingo,
Use the method LinesLeft() wichh returns the number of lines left on the
page. The documentation of TReport is already done in Spanish and right now
is being translated into English. I hope it will be ready really soon.
Regards,
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:4449e6aa$[email=
1@ozsrvnegro.ozlan.local...]
1@ozsrvnegro.ozlan.local...[/email]
>
> Hello,
>
> printing each record of a dbf with 3 lines I want to prevent from breaking
> the page between this 3 lines by using the OnChanged-event of TReport. I
> need now the pagelength in pixels to compare the oReport:nRow with.
>
> Is there a property of TReport holding the pagelength in pixels for using
> the OnChanged-event like that:
>
> oReport:OnChanged:={||IIF(oReport:nRow>oReport:???,; oReport:NewPage(),)}
>
> Thanks in advance
>
> Ingo
>
>