Consultor Eletrônico



Kbase P117306: Error 4104 accessing the INPUT-VALUE of a RADIO-SET widget.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/12/2006
Status: Unverified

SYMPTOM(s):

Error 4104 accessing the INPUT-VALUE of a RADIO-SET widget.

Unknown error code for attribute <attribute> on the <widget id>. (4104)

Executing code along the following lines:
DEFINE VARIABLE iRadioSet AS INTEGER NO-UNDO
VIEW-AS RADIO-SET
RADIO-BUTTONS "Apple",1,"Banana",2.
DEFINE FRAME FrameName
iRadioSet.
iRadioSet:SENSITIVE = TRUE.
iRadioSet:DISABLE("Apple").
iRadioSet:DISABLE("Banana").
MESSAGE iRadioSet:INPUT-VALUE
VIEW-AS ALERT-BOX INFO BUTTONS OK.

CAUSE:

Bug# 20060712-019

CAUSE:

Referencing the INPUT-VALUE of a RADIO-SET widget with no enabled RADIO-BUTTONS.

FIX:

Enable at least one of the RADIO-BUTTONS before referencing the INPUT-VALUE attribute of the RADIO-SET widget. For example, commenting either one of the follwoing two statements in the above code snippet eliminates the error:
iRadioSet:DISABLE("Apple").
iRadioSet:DISABLE("Banana").