SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the item ID of the item.
Get
VB.NET | ItemID = object.ID As Integer |
VB | ItemID = object.ID As Long |
C#.NET | int ItemID = object.ID; |
VC++ | long ItemID = object->ID; long ItemID = object->GetID(); |
C | HRESULT object->get_ID(long* ItemID); |
Put
VB.NET | object.ID = ItemID As Integer |
VB | object.ID = ItemID As Long |
C#.NET | int object.ID = ItemID; |
VC++ | long object->ID = ItemID; void object->PutID(long ItemID); |
C | HRESULT object->put_ID(long ItemID); |
object
ItemID
Defines the item ID of the item.
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