HeaderPane
Main
Hide
Share Link
Print

SftBoxItems.Remove Method

Deletes an item.

Syntax

C#int Remaining = object.Remove(int ItemIndex);
VB.NETRemaining = object.Remove(ByVal ItemIndex As Integer) As Integer
C++long Remaining = object->Remove(long ItemIndex);
CHRESULT object->raw_Remove(long ItemIndex, long* Remaining);
VBRemaining = object.Remove(ByVal ItemIndex As Long) As Long

object

A SftBoxItems object.

ItemIndex

The zero-based index of the item to be removed.

Remaining

Returns the number of items remaining in the combo box.

Comments

The Remove method deletes an item.

Remove does not delete dependents of an item, use Item.DeleteDependents to delete dependent items first.

Items.Clear removes all items from a combo box.

If many items have to be deleted, the BulkUpdate property can be used to indicate a mass-update, which is significantly faster.

The drop down portion is automatically hidden when the combo box contents are changed using this method. The DropDown.SuppressOn method can be used to suppress hiding the drop down portion when adding/inserting items.

See Also SftBoxItems Object | Object Hierarchy


Last Updated 11/04/2026 - (email)
© 2026 Softel vdm, Inc.