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
BUG?: EditString Text rendering not stable with some Strings [message #37432] Wed, 03 October 2012 21:52 Go to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
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?

cheers..

PS: i could find the cause though..
 
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: Tue Aug 04 05:15:18 GMT+2 2026

Total time taken to generate the page: 0.00662 seconds