CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

ShowMessage Umlaute+LF

General discussion

by JMiller » 07 May 2014 13:06

Ok, that's doable.
Thanks :)
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by JMiller » 16 May 2014 11:25

The problem now is the other way around:
A DefaultValue can only be specified as an UnicodeString, but is displayed incorrectly.

E.g. the path string "Test\\Test\\test.txt" is displayed as
TestTest........est.txt
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by Jorge Sousa » 16 May 2014 11:42

Hi

Not in IW >= 14.0.30

for IW12 you'll have to use UTF8Encode, or deal with Atozed
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by JMiller » 16 May 2014 12:08

cgdevtools_support wrote:for IW12 you'll have to use UTF8Encode


I've tried that, but UTF8Encode returns a RawByteString and ShowPromptMessage seems to cast that back to UnicodeString.
Code: Select all
   WideString tTT = "Test\\Test\\test.txt";
   RawByteString tAD = UTF8Encode(tTT); // tAD = "Test\Test\test.txt"
   IWCGJQShowMessage1->ResetJSonProps();
   IWCGJQShowMessage1->ShowPromptMessage("Test:", tAD);

The result stays the same.
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by Jorge Sousa » 16 May 2014 12:27

Hi again

I realize now, that you're takling about the DefaultValue of

ShowPromptMessage

and in this case, maybe we can do something that will fix it, but you'll still need to call UTF8Encode in IW12
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Alexander Bulei » 16 May 2014 14:41

Hi JMiller,

Thanks for reporting.

Fixed in V2.1.0.3614.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

Previous

Return to General - Archive

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.