Consultor Eletrônico



Kbase P98133: Radio-set widget shows wrong value with duplicated labels
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/02/2011
Status: Unverified

SYMPTOM(s):

Radio-set widget shows wrong value with duplicated labels

The value returned from radio-set widget is always the first one, regardless of the selection

FACT(s) (Environment):

The 'Buttons' property of the radio-set contains duplicated labels like:

"Label 1", "My label"
"Label 1", "Your label"
Progress 9.x
OpenEdge 10.x
All Supported Operating Systems

CAUSE:

The RADIO-SET is designed to give the user a limited list of unique values from which to select. It is not logical for a RADIO-SET to display duplicate labels as there would be no way for a user to distinguish between between them (e.g. know which label represented a specific value).

FIX:

Make the labels unique adding an extra value (for example, a number).
Potentially it is possible to add spaces to the label between the value and the extra value and then resize the radio-set to hide the extra value.

"Label 1 1", "My label"
"Label 1 2", "Your label"