Consultor Eletrônico



Kbase P119158: Assigning SCREEN-VALUE to SELECTION-LIST widget selects too many entries
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   28/09/2006
Status: Unverified

SYMPTOM(s):

Using SELECTION-LIST widget

selection-list:MULTIPLE attribute is TRUE

ASSIGNing value to selection-list:SCREEN-VALUE attribute

Entries that were previously selected remain selected

SCREEN-VALUE attribute returns different value from what was set

CAUSE:

This is expected behavior.
The selection-list widget was designed to append the values specified for the SCREEN-VALUE to the existing selection, not to clear the existing selection first.

FIX:

Clear out the existing selection by assigning a blank value to the SCREEN-VALUE first; then assign the new value.