HeaderPane
Main
Hide
Share Link
Print

SftBoxItem.ID Property

Defines the item ID of the item.

Syntax

Get

C#int ItemID = object.ID;
VB.NETItemID = object.ID As Integer
C++long ItemID = object->ID;
long ItemID = object->GetID();
CHRESULT object->get_ID(long* ItemID);
VBItemID = object.ID As Long

Put

C#int object.ID = ItemID;
VB.NETobject.ID = ItemID As Integer
C++long object->ID = ItemID;
void object->PutID(long ItemID);
CHRESULT object->put_ID(long ItemID);
VBobject.ID = ItemID As Long

object

A SftBoxItem object.

ItemID

Defines the item ID of the item.

Comments

The ID property defines the item ID of the item.

The combo box control automatically assigns a unique item ID to items as they are added to the control. The item ID defined by the ID property does not change throughout the lifetime of an item. Even if an item changes its index position because other items are deleted or inserted, the item ID remains constant.

An application can change an item's item ID using the ID property. In this case, if a unique item ID is required, the application must insure using its own mechanisms that unique IDs are used.

The item index describes the zero-based position of an item in a combo box control.

An item ID can be translated into an item index using the Items.ItemIndex property.

See Also SftBoxItem Object | Object Hierarchy


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