TiModeComboBox.SetItemValue

TiModeComboBox

Used to set a specific item's associated value.

procedure SetItemValue (Index: Integer; Value: Integer);

Description

Call SetItemValue to set the associated value of the Mode Combo Box Item specified by Index..

Note: the index value is the index of the item and not it's associated value property. When items are added to the Mode Combo Box control by using the AddItem procedure, the index of the item is 1 less than the ItemCount property.

Example

Delphi

iComponent.SetItemValue(5, 100);

C++ Builder

iComponent->SetItemValue(5, 100);

Contents | Index | Previous | Next