U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » LineEdit, EditFields, DocEdit » BUG?: EditString Text rendering not stable with some Strings
Re: BUG?: EditString Text rendering not stable with some Strings [message #37436 is a reply to message #37432] Thu, 04 October 2012 21:36 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
kohait00 wrote on Wed, 03 October 2012 15:52

Supplying a String like

String s = "ab";
s.Cat('\0');
edstring.SetData(s);


will cause a rendering problem..
I know, a String should be terminated by one '\0' only, but some times preinit sized buffers (String) will be supplied, that have more 0000 following. How is EditString supposed to deal with this?



Actually, I do not know... Smile

Should we treat it as normal unicode character and display something like box? Or should we change the len of string?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DocEdit code scrolling
Next Topic: Custom check for EditIntXxxx controls
Goto Forum:
  


Current Time: Wed Aug 05 10:02:53 GMT+2 2026

Total time taken to generate the page: 0.00734 seconds