Robert,
there's a bug in the parsing of the expression editor.
If e.g. i put this in:
"23.09.2020 Flügelschlagquartett (2 Klaviere + 2 Schlagzeuger)" + CRLF + "11.11.2020 Trio con Brio (Klaviertrio aus Copenhagen)"
written on one line, the checker says: "expression valid"
If i enter a linebreak (using CTRL-Enter) after the "CRLF +" part, i get "error in the expression".
EDIT: got it, it follows the same rule as in source, after the "+" has to follow a semi-colon...
[rp 2.35] Expression Editor & line breaks // solved
[rp 2.35] Expression Editor & line breaks // solved
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)
[rp 2.35] Expression Editor & line breaks // solved
Hi Karl,
Good idea, we should be able to safely strip out CRLFs from the expressions, will log this as a feature request. I wish you had suggested this 15 years ago, when I was using RP2 as a developer and was very annoyed by how the expression edit boxes worked in RP
Good idea, we should be able to safely strip out CRLFs from the expressions, will log this as a feature request. I wish you had suggested this 15 years ago, when I was using RP2 as a developer and was very annoyed by how the expression edit boxes worked in RP
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
[rp 2.35] Expression Editor & line breaks // solved
Well, who would have listened...
But you asked for it, so here goes:
a) if i want to make a new label report, it can't find "Label.sys" - my "Search everything" find's no such file on this computer, but the ol' 2.17k version works
b) Have a look, how i have to overlap the fields in the design, to get somewhat decent output. If i reduce the fieldheight only minimaly, the second line gets stripped from output. Feels like some mismatch between font size in designer and output...
c) if you remove "header and footer bands" from the section tab, "page properties" dissappears entirely
d) label report, two columns, 1cm midway distanced, have a look: the right label-border in the designer is painted at the position, where the left border of the second column-label starts, i.e. wronlgy includes the horzizontal gap value e) i paint a field in design, -> align, center horizontally in margins - won't result in centering to the label width -> ok, if one reads margins as per paper - but there's no center in label.
But you asked for it, so here goes:
a) if i want to make a new label report, it can't find "Label.sys" - my "Search everything" find's no such file on this computer, but the ol' 2.17k version works
b) Have a look, how i have to overlap the fields in the design, to get somewhat decent output. If i reduce the fieldheight only minimaly, the second line gets stripped from output. Feels like some mismatch between font size in designer and output...
c) if you remove "header and footer bands" from the section tab, "page properties" dissappears entirely
d) label report, two columns, 1cm midway distanced, have a look: the right label-border in the designer is painted at the position, where the left border of the second column-label starts, i.e. wronlgy includes the horzizontal gap value e) i paint a field in design, -> align, center horizontally in margins - won't result in centering to the label width -> ok, if one reads margins as per paper - but there's no center in label.
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)
[rp 2.35] Expression Editor & line breaks // solved
Karl, can you please post a sample?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
[rp 2.35] Expression Editor & line breaks // solved
Edited my post for better organization For b) see Abo-Karten_Rückseite report. This report there's only fixed text used. Pls rename file to .rptChris wrote:Karl, can you please post a sample?
For d) use Abo-Karten_V4 and do likewise.
For the other points i see no "sample", here one has to look into the designer :whistle:
- Attachments
-
- XSharp.7z
- (3.76 KiB) Downloaded 93 times
-
- Abo-Karten_V4 .txt
- (9.98 KiB) Downloaded 98 times
-
- Abo-Karten_Rückseite_V3.txt
- (10.96 KiB) Downloaded 90 times
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)
[rp 2.35] Expression Editor & line breaks // solved
Thanks, confirmed and logged! I am afraid those are not trivial issues like they may seem (designer to screen/printer translation is very complicated), but we'll look into them.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
[rp 2.35] Expression Editor & line breaks // solved
Thx - glad, it's not my usual stupidity
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)