Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Bug with "\n" in Display Message Box

  1. #1

    Default Bug with "\n" in Display Message Box

    Hi Friedrich,

    I use "Display Message Box" with for example the following text:

    c:\nginx\nginxservice.exe


    When the setup runs I get a message with the following truncated info:

    c:
    ginx
    ginxservice.exe

    So how can I prevent in this situation that \n won't be converted to a
    new line. A bit frustrating.

    --
    Best regards,
    Jeffrey Kuijt

  2. #2

    Default Re: Bug with "\n" in Display Message Box

    Hi Jeffrey,

    > c:\nginx\nginxservice.exe
    >
    >
    > When the setup runs I get a message with the following truncated info:
    >
    > c:
    > ginx
    > ginxservice.exe

    What happens if you double up the backslash?

    c:\\nginx\\nginxservice.exe

    Best regards,

    --
    Arnor Baldvinsson
    Icetips Alta LLC

  3. #3

    Default Re: Bug with "\n" in Display Message Box

    Jeffrey,

    > I use "Display Message Box" with for example the following text:
    >
    > c:\nginx\nginxservice.exe

    If you want no other text or line feeds check the option flag.

    Lee White
    Attached Images Attached Images  

  4. #4

    Default Re: Bug with "\n" in Display Message Box

    Thank you!!

    Best regards
    Jeffrey

  5. #5

    Default Re: Bug with "\n" in Display Message Box

    You mean like the attached?
    (although I still haven't figured how to make agent actually put a
    picture in the same message...)

    jf


    >What happens if you double up the backslash?
    >
    >c:\\nginx\\nginxservice.exe
    >
    >Best regards,
    Attached Images Attached Images  

  6. #6

    Default Re: Bug with "\n" in Display Message Box

    Click the "Attachments" button

    Then the "Properties" button on the new window.

    Untick "Send text as preface"

    >(although I still haven't figured how to make agent actually put a
    >picture in the same message...)

    Jeff Slarve
    www.jssoftware.com


    Bits and Bytes are Dy-No-Myte

  7. #7

    Default Re: Bug with "\n" in Display Message Box

    Jeff,

    > Click the "Attachments" button
    >
    > Then the "Properties" button on the new window.
    >
    > Untick "Send text as preface"

    After that you can simply drag and drop on the "Attachments" button or
    entry and you're done.

    I may have to stop using Chrome since this "Waiting For Cache" is
    constantly locking my system and making my desktop useless. I've tried
    every suggestion I can find and nothing wants to fix it. ARGH!

    Lee White
    Attached Images Attached Images    

  8. #8

    Default Re: Bug with "\n" in Display Message Box

    Hi Jane,

    > You mean like the attached?
    > (although I still haven't figured how to make agent actually put a
    > picture in the same message...)
    Apparently that didn't exactly fix it<g> I can't find any information
    about how to actually escape \n and \r - I assume this problem would
    also come up with C:\register\randomly

    Best regards,


    --
    Arnor Baldvinsson
    Icetips Alta LLC

  9. #9

    Default Re: Bug with "\n" in Display Message Box

    Arnor,

    > Apparently that didn't exactly fix it<g> I can't find any information
    > about how to actually escape \n and \r - I assume this problem would
    > also come up with C:\register\randomly

    \r is not a problem since it's just a carriage return but \n can be
    ignored with an existing option for Display Message. The limitation is
    that you cannot use a new line in the message or you simply see \n
    inserted into the string.

    --
    Lee White

    RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
    Report Faxing.....: http://www.cwaddons.com/products/afe/
    ---Enroll Today---: http://CWaddons.com

    Creative Reporting: http://www.CreativeReporting.com

    Product Release & Update Notices
    http://twitter.com/DeveloperPLUS

    Hydrogen, the only CLEAN fuel and the future of clean air.

  10. #10

    Default Re: Bug with "\n" in Display Message Box

    Perhaps creating a wrapper for Clarion's MESSAGE() in a support DLL
    would be the most expedient way to solve this dilemma?

    Jeff Slarve
    www.jssoftware.com


    Bits and Bytes are Dy-No-Myte

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •