Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBox.ItemDeleted Event

An item is deleted.

Syntax

VB.NETPrivate Sub object_ItemDeleted(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.ItemDeleted
VBPrivate Sub object_ItemDeleted(ByVal ItemIndex As Long)
C#.NETvoid object_ItemDeleted(object sender, EventArgumentType e);
VC++void OnItemDeletedobject(long ItemIndex);
CHRESULT OnItemDeletedobject(long ItemIndex);

object

A SftBox object.

ItemIndex

The zero-based index of the item being deleted.

Comments

The ItemDeleted event occurs when an item is deleted.

This event can be used to perform application-specific cleanup processing as items are deleted. If data is attached to items or cells (using Item.DataTag, Cell.DataTag, etc.), this event can be used to perform the necessary cleanup action, which may be required by the application.

The Items.DeleteEvent property must be set to True for this event to be generated, in which case the ItemDeleted event is generated each time an item is deleted.

No items may be modified, inserted or deleted, no methods should be called and no properties should be updated while this event is handled.

See Also SftBox Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.