Hi,
we are facing problems with carridge return + line feed in the text editor in multiline mode. If the control is not focused then the control shows the line feeds correct, but as soon as we focus the control it looses the line feed and shows some special characters I can't interpret.
Does anyone have the same problem or some idea why this happens.
regards
Stefan
Hi Stefan,
When the control gets focus, it displays a Microsoft TextBox control over itself for editing. It is this control that handles the CR+LF in an odd way. Try using just a CR without the LF and see if that helps.
If you are doing this in code, you might want to use Environment.NewLine.