fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[rp 2.35] Expression Editor & line breaks // solved 07 Sep 2020 16:15 #15844

  • FFF's Avatar

  • FFF

  • Topic Author


  • Posts: 1007
  • 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...
    Regards
    Karl (X# 2.6; Xide 1.26; W8.1/64 German)

    Please Log in or Create an account to join the conversation.

    Last edit: by FFF.

    [rp 2.35] Expression Editor & line breaks // solved 07 Sep 2020 16:51 #15845

  • Chris's Avatar

  • Chris


  • Posts: 2126
  • 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 :)
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    [rp 2.35] Expression Editor & line breaks // solved 07 Sep 2020 17:29 #15846

  • FFF's Avatar

  • FFF

  • Topic Author


  • Posts: 1007
  • 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.
    Regards
    Karl (X# 2.6; Xide 1.26; W8.1/64 German)
    Attachments:

    Please Log in or Create an account to join the conversation.

    Last edit: by FFF.

    [rp 2.35] Expression Editor & line breaks // solved 08 Sep 2020 15:31 #15851

  • Chris's Avatar

  • Chris


  • Posts: 2126
  • Karl, can you please post a sample?
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    [rp 2.35] Expression Editor & line breaks // solved 08 Sep 2020 16:06 #15852

  • FFF's Avatar

  • FFF

  • Topic Author


  • Posts: 1007
  • Chris wrote: Karl, can you please post a sample?

    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 .rpt
    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:
    Regards
    Karl (X# 2.6; Xide 1.26; W8.1/64 German)
    Attachments:

    Please Log in or Create an account to join the conversation.

    Last edit: by FFF.

    [rp 2.35] Expression Editor & line breaks // solved 08 Sep 2020 18:03 #15853

  • Chris's Avatar

  • Chris


  • Posts: 2126
  • 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.
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    [rp 2.35] Expression Editor & line breaks // solved 08 Sep 2020 18:10 #15854

  • FFF's Avatar

  • FFF

  • Topic Author


  • Posts: 1007
  • Thx - glad, it's not my usual stupidity ;)
    Regards
    Karl (X# 2.6; Xide 1.26; W8.1/64 German)

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1