ListView-AddItem

Function Name dcl-ListView-AddItem
Syntax   (dcl-ListView-AddItem <CONTROL> {ImageIndex [as Integer]} ItemLabel [as String] {Column1Label [as String] Column2Label [as String]} ...)
Return Type Long
Applies To List View

This method appends a new item to the list. The optional ImageIndex argument specifies the image from the control's image list to display with the label in the first column or in icon view. In report view mode, each cell in the new row is populated with the specified text. If no text is specified for a column, it remains empty. The return value is the index (zero-based) of the new item.