Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : SORT attribute
 

SORT attribute

Indicates whether to sort new additions to the item list of a widget.
Data type: LOGICAL
Access: Readable/Writeable
Applies to: BROWSE widget (column), COMBO-BOX widget, SELECTION-LIST widget
If the SORT attribute is TRUE, all items added to a combo box or selection list are added in sorted order. This means that the methods ADD-FIRST( ) and ADD-LAST( ) add items to the list in sorted order. The setting of this attribute has no affect on the function of the INSERT( ) and REPLACE( ) methods. Setting this attribute to FALSE returns these methods to their native function.
For browses, this attribute applies only to combo-box browse columns.