Inserts an item in control and returns index of new item or -1 if unsuccessful. TIP: Do not assume that the item you add with InsertItem() is given the index you requested; InsertItem() returns the actual index of the item added. If you insert past the upper bound of the control, your item is added to the end.

Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Runtime.Vis.2 (in PPJ.Runtime.Vis.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public SalNumber InsertItem(
	SalNumber nItem,
	SalString sText,
	SalNumber nImage
)

Return Value

See Also