PreviousNextIndex

INSERT( ) method

Inserts a new item before a specified item in a combo box or selection list. The new item can consist of a label, a list of labels, or a label-value pair.

Return type: LOGICAL

Applies to: BROWSE widget (column), COMBO-BOX widget, SELECTION-LIST widget

Syntax
INSERT (
  { new-item-list | new-label , new-value }
  ,
  { list-item | list-index }
  ) 

new-item-list
new-label
new-value
list-item
list-index

The delimiter is the value of the DELIMITER attribute, which is a comma by default. If the method is successful, it returns TRUE.

For browses, this method applies only to combo-box browse columns.

Note: If the widget’s entries consist of single items, each call to INSERT can add multiple entries. If the widget’s entries consist of label-value pairs, each call to INSERT can add one entry.

OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex