Hello,
i am trying read the value from a combobox but somehow i cant seem to get it to work.
Whenever i run this code and choose my status from the combobox, i cant proceed with the procedure.
When i run it, it looks like this:
Normally, when i use "view-as fill-in" instead of combobox then i can just type in something and proceed with pressing ENTER but that does not work with combobox.
I have to press ESC and then the procedure just ends there. How do i proceed from here? I want to work with the chosen value further in the code.
i am trying read the value from a combobox but somehow i cant seem to get it to work.
Whenever i run this code and choose my status from the combobox, i cant proceed with the procedure.
Code:
DEF VAR belegStat as CHAR VIEW-AS COMBO-BOX INNER-LINES 5 LIST-ITEMS "offen", "arch"
LABEL 'BelegStatus' NO-UNDO.
DEFINE FRAME test
belegStat
WITH WIDTH 80 1 COLUMN ROW 3 COLUMN 1 TITLE 'TEST FILL-IN'.
ENABLE belegStat WITH FRAME test.
belegStat:SCREEN-VALUE = belegStat.
UPDATE belegStat WITH FRAME test.
When i run it, it looks like this:
Normally, when i use "view-as fill-in" instead of combobox then i can just type in something and proceed with pressing ENTER but that does not work with combobox.
I have to press ESC and then the procedure just ends there. How do i proceed from here? I want to work with the chosen value further in the code.