BaseListBox.AddItem Method (Typed) | |
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.21
Syntax VIRTUAL METHOD AddItem(
uItem,
uIndex,
uValue
) AS LONG CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual int AddItem(
Usual uItem = default,
Usual uIndex = default,
Usual uValue = default
)
Request Example
View SourceParameters
- 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