Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : LIST-ITEM-PAIRS attribute
 

LIST-ITEM-PAIRS attribute

A list of the label-value pairs associated with a combo box or selection list. The list is delimiter-separated.
Note: The LIST-ITEM-PAIRS attribute applies only to combo boxes and selection lists whose entries consist of label-value pairs. For combo boxes and selection lists whose entries consist of single items, use the LIST-ITEMS attribute.
Data type: CHARACTER
Access: Readable/Writeable
Applies to: BROWSE widget (column), COMBO-BOX widget, SELECTION-LIST widget
The value of the delimiter depends on the value of the DELIMITER attribute, which is a comma by default.
For browses, this attribute applies only to combo-box browse columns.
LIST-ITEM-PAIRS provides a list like the following:
"Red,1,Blue,2,Green,3"