How do you initialize a combo box for LIST-ITEM-PAIRS? The combo box will dynamically change as the user enters other information. I've tried to set the SCREEN-VALUE but I get an error, saying the value is invalid.
To initialize the combo box, use the second item in the pair:
ASSIGN cb-test:LIST-ITEM-PAIRS = ",,Value of Test 1,Test1Val" +
",Value of Test 2,Test2Val"
cb-test:SCREEN-VALUE = "Test1Val".
/* This will display "Value of Test 1" in the combo box */
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.