comp • gb.qt4 • listview • add

ListView.Add (gb.qt4)

Function Add ( Key As String, Text As String [ , Picture As Picture, After As String ] ) As _TreeView_Item

Adds an item to the view.

  • Key is the key of the new item.

  • Text is the text of the new item.

  • Picture is the picture displayed besides the item. By default, no picture is displayed.

  • After is the key of an item that the new item will directly follows. By default, the new item is added to the last.

The newly created item is returned.