Hi to all X-Sharp-Friends,
after converting an application using ReportPro2 from VO to XS, I get a little problem with oPrinter:NextPRow: NextPRow has always the same value as PRow and is not increased by AvgCharHeight. My current solution is to increase PRow manually (i.e. PRow := PRow + 0.43). But this seems not to be very smart. My version is 2.36.0.4.
Thanks for help.
Alf
Report Pro 2 - NextProw
Report Pro 2 - NextProw
Alf,
there IS already 2.39.0.4 in the download, you might try this.
there IS already 2.39.0.4 in the download, you might try this.
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Report Pro 2 - NextProw
Hi Alf,
Can you please create and send me (the aef) a small sample in VO, showing how you use NextPROW in a report? Then I will port it to X# to compare.
I checked through my sources and apparently I had never used that, I only use PROW.
.
Can you please create and send me (the aef) a small sample in VO, showing how you use NextPROW in a report? Then I will port it to X# to compare.
I checked through my sources and apparently I had never used that, I only use PROW.
.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Report Pro 2 - NextProw
Hi Chris,
you find my demo in the attachment. After opening a DBF a simple report is created: all records appear in the same line. When I replace "NextProw" with "PRow += AvgCharHeight" (please look for the comment lines "ALF" in PrintPageBody) it works well. Ok, that's not really a problem for me, but nevertheless a correction for the next version would be nice.
Alf
you find my demo in the attachment. After opening a DBF a simple report is created: all records appear in the same line. When I replace "NextProw" with "PRow += AvgCharHeight" (please look for the comment lines "ALF" in PrintPageBody) it works well. Ok, that's not really a problem for me, but nevertheless a correction for the next version would be nice.
Alf
- Attachments
-
- AlfsDemo8.zip
- (932.22 KiB) Downloaded 100 times
Report Pro 2 - NextProw
Hi Alf,
Thanks for the sample! Indeed, it works in VO but not in X#, looking into it...
.
Thanks for the sample! Indeed, it works in VO but not in X#, looking into it...
.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Report Pro 2 - NextProw
Hi Alf,
Ah, it's because of a silly bug in the RP2 code. Do you have the source code version? If you do, please go to the file
ReportPro2, RuntimePrintingRpPrinter (D).prg
and change the access
to
That should do it..
Ah, it's because of a silly bug in the RP2 code. Do you have the source code version? If you do, please go to the file
ReportPro2, RuntimePrintingRpPrinter (D).prg
and change the access
Code: Select all
ACCESS NextPRow AS LONGINT
RETURN LONGINT(SELF:PRow+SELF:AvgCharHeight)
Code: Select all
ACCESS NextPRow AS REAL8
RETURN SELF:PRow+SELF:AvgCharHeight
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
-
- Posts: 114
- Joined: Mon May 02, 2016 9:10 am
- Location: Schweiz
Report Pro 2 - NextProw
Hi Chris,
Could you please also place a fixed version of this in the download section?
TIA
Markus
Could you please also place a fixed version of this in the download section?
TIA
Markus
Report Pro 2 - NextProw
While you are at it, a fix for the problem long multi-order tags slowing down the appearance of the preview in designer would be fine, too (i know, i promised to deliver a sample, shame on me...)
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Report Pro 2 - NextProw
Hi Markus,
Unfortunately things are a little hectic to create a new full installer right now, but since this is only a very small change, do you mind if I just send you an updated dll for now?
Karl, can you please send a sample reproducing the problem?
.
Unfortunately things are a little hectic to create a new full installer right now, but since this is only a very small change, do you mind if I just send you an updated dll for now?
Karl, can you please send a sample reproducing the problem?
.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Report Pro 2 - NextProw
Hi Chris,
watch your spam
watch your spam
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)