Consultor Eletrônico



Kbase P95981: Spaces removed when using ENABLE TEXT with 2+ fields in 4GL
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/14/2004
Status: Unverified

FACT(s) (Environment):

Progress 8.x
Progress 9.x
OpenEdge 10.0A

SYMPTOM(s):

Space character is automatically removed when deleting the character before it

Example:

"Progress T" becomes "Progress" rather than "Progress " when deleting the "T"

Using code to enable text wrap:

ENABLE TEXT(cVar1 cVar2).

Occurs if the character before the space is the last in the string

Does not occur if the TEXT option is removed

CAUSE:

This is expected behaviour and is seen in Progress 8, Progress 9 and OpenEdge 10. The ENABLE TEXT option has been superceded by the Editor widget.

FIX:

To avoid the loss of the space character:

1) ENABLE each field separately (at the cost of the text wrap functionality):
ENABLE TEXT(cVar1) TEXT(cVar2)
2) Use an Editor widget rather than ENABLE TEXT