Click or drag to resize

BaseListBox.AddItem Method (Typed)

X#
Add a new item to a list box at a specified position.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD AddItem(
	uItem,
	uIndex,
	uValue
) AS LONG CLIPPER
Request Example View Source

Parameters

uItem (Optional)
Type: Usual
The item to be inserted.
uIndex (Optional)
Type: Usual
The position in the list box at which to insert the new item. Specify one of the following values:
uValue (Optional)
Type: Usual
Position

Return Value

Type: Long
If the item was added, its position in the list box is returned (a value of 1 refers to the first position in the list box). If the item could not be added, 0 is returned.
See Also