Consultor Eletrônico



Kbase P156601: Setting ReturnMode Property of PinEdit ActiveX control to 0 (0 - BR) has no effect in ABL
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   27/11/2009
Status: Unverified

SYMPTOM(s):

Setting ReturnMode Property of PinEdit ActiveX control to 0 (0 - BR) has no effect in ABL

Setting ReturnMode Property of PinEdit ActiveX control to 0 (0 - BR) is ignored when using the control in Progress

ReturnMode 0 should generate <BR> when the Return / Enter key is pressed

ReturnMode 0 results in <P></P> tags being generated

FACT(s) (Environment):

Using PinEdit ActiveX control from http://www.pintexx.com/
PinEdit ActiveX allows HTML style editing
ReturnMode Property controls which HTML tag is used when the Return Key is pressed, i.e. <BR> or <P> tags
ReturnMode Property has the following settings:

0 - BR => generates <BR> tag
1 - P => generates <P></P> tags
2 - WP => generates <p style="margin-top: 0px; margin-bottom: 0px"></p> tags
Problem does not occur when the PinEdit ActiveX control is used in MS Visual Basic 6
Progress 9.1x
OpenEdge 10.1x
OpenEdge 10.2A
Windows

CAUSE:

Bug# OE00193698

FIX:

Use ReturnMode 3 (3 - WP) to generate the same effect as <BR>, i.e. a single line-break