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
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
1 Attachment(s)
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
Re: Bug with "\n" in Display Message Box
Thank you!!
Best regards
Jeffrey
1 Attachment(s)
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,
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
3 Attachment(s)
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
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
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.
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