IconView.Add (gb.qt4)

Function Add ( Key As String, Text As String [ , Picture As Picture, After As String ] ) As _IconView_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.

Tip..
To insert an item as the first item use the following syntax...

Add(Key, Text, Picture).MoveFirst()