PreviousActiveX Controls Guide (v10) Next

RemoveItem

Chapter contents

Applies to:

VACombo, VAList

Description

Removes an item from a VAList or VACombo control operating in field-bound mode.

Syntax

object.RemoveItem index 

The RemoveItem method syntax has these parts:

Part
Description
object
Required. An object expression that evaluates to an object in the Applies To list.
index
Required. Integer representing the position within the object of the item to remove. For the first item in a VAList or VACombo, index = 0.

Remarks

A VAList or VACombo control that is operating in record list mode (VARecordList property is set to True) does not support the RemoveItem method.


Chapter contents
Book contents

Prev topic: Refresh
Next topic: RowColumnValue