Selection list list-pairs

chfbottlewasher

New Member
Hello, I am designing a screen that has 2 selection lists in it. I want them to be list-pairs, and start out blank. Then I will populate them at run-time.

If I designate them as list-items, everything goes smoothly. However, when I thry to use List-pairs, it I leave the list items blank, it changes the type back to list-items. If I manually change the code to list-pairs, when I open the code, it gives errors, and states it must be list-items. The only work-around I have found is to specify a list-pair. I don't want to do that, I want the set blank until I load it up.

Any ideas?

Thanks!
 

jongpau

Member
Hi,

My solution would be:
- Define as list-item-pairs
- Place 1 list-item-pair in there (dummy value)
- On startup of your procedure (before the enable_ui) do something like VariableName: DELETE(1) IN FRAME YourFrame.
- Populate the selection list

HTH
 
Top