11.7
I got a cbTest with:
cbTest:list-item-pairs = 'aaa,1,bbb,2,ccc,3'.
cbTest:screen-value gives me 2, but is it so that I have to do like this to get the textpart?
entry(SELF:LOOKUP(SELF:SCREEN-VALUE) - 1,self:list-item-pairs) ?
hmmmm...
Yes, that's what you have to do. There's no attribute which gives you the label of the selected item directly.
Yes, that's what you have to do. There's no attribute which gives you the label of the selected item directly.
Never had to use it, but now... should have been possible to get it easier.. but thanks :-)
(I've used that several times, from 15-20 years ago) ... :(