BaseListBox.AddItem Method | |
Add a new item to a list box at a specified position.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD AddItem(
cItem,
nItemNumber
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual AddItem(
Usual cItem = default,
Usual nItemNumber = default
)
Request Example
View SourceParameters
- cItem (Optional)
- Type: Usual
The item to be inserted. - nItemNumber (Optional)
- Type: Usual
The position in the list box at which to insert the new item. Specify one of the following values:
Return Value
Type:
Usual
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