Insertion-Index
This numeric property is used to set the position of the newly inserted item. Either the
Paged style or the
Unsorted style must be set; if not, the items are alphabetically sorted. The new item is inserted right before the item number specified here. For example, with the value "1" the next item added to the List-Box control will appear at the top of the list, while with the value "0" the item will be inserted at the end of it.
Example - Modify a list-box to insert a new item on position 5
procedure division. ... modify screen-1-lb-1 insertion-index 5 modify screen-1-lb-1 item-to-add "new item" ... |