Consultor Eletrônico



Kbase P176698: UltraTextEditor control doesn't show line break for "~n" newline.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/4/2010
Status: Unverified

SYMPTOM(s):

UltraTextEditor control doesn't show line break for "~n" newline.

Assigning string with "~n" escape sequence or embedded CHR(10) to UltraTextEditor:Text property

Control does not display line break for the character

Control shows a square placeholder character or simply concatinates lines instead

FACT(s) (Environment):

OpenEdge 10.2x
Windows

CAUSE:

UltraTextEditor only accepts the Windows CR/LF sequence; meaning CHR(13) + CHR(10) or the equivalent "~r~n".

FIX:

Make sure that all linebreaks in the character data are represented as CHR(13) + CHR(10)