combobox how to ... - Forum - OpenEdge General - Progress Community
 Forum

combobox how to ...

This question is answered

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...

Verified Answer
  • Yes, that's what you have to do. There's no attribute which gives you the label of the selected item directly.

All Replies
  • 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) ... :(