Consultor Eletrônico



Kbase P116428: 4GL/ABL: A COMBO-BOX SCREEN-VALUE returned under OpenEdge 10.1x CHUI client is different from that r
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/11/2010
Status: Unverified

SYMPTOM(s):

4GL/ABL: A COMBO-BOX SCREEN-VALUE returned under OpenEdge 10.1x CHUI client is different from that returned under Progress 9.1x CHUI client.

The following code returns different results under OpenEdge 10.1x character (TTY) client from those returned under Progress 9.1x CHUI client. Running the code under an OpenEdge 10.1x character (TTY) client, the screen value displayed is: 'ban'. Running the code under a Progress 9.1x CHUI client, the screen value displayed is: 'ora':
DEF VAR cboCombo AS CHAR VIEW-AS COMBO-BOX
LIST-ITEM-PAIRS "apples","app" INNER-LINES 5 SIZE 20 BY 5 SORT.
DEF BUTTON btnTest LABEL "Test".
DEF FRAME frMain cboCombo btnTest.
cbocombo:ADD-LAST("oranges","ora").
cbocombo:ADD-LAST("pears","pea").
ASSIGN
cboCombo = "ora".
DISPLAY
cboCombo WITH FRAME frMain.
ENABLE
btnTest
cboCombo
WITH FRAME frMain.
cbocombo:ADD-LAST("bananas","ban").
ON CHOOSE OF btnTest IN FRAME frMain
DO:
ASSIGN cboCombo.
MESSAGE cboCombo VIEW-AS ALERT-BOX.
END.
WAIT-FOR CLOSE OF CURRENT-WINDOW.

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1x

CAUSE:

Bug# OE00129102

FIX:

None at this time.
As a workaround, DISPLAY the combo box after an ADD-LAST or an ADD-FIRST method call.