Vcl.StdCtrls.TCustomCombo.SetItemIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetItemIndex(const Value: Integer); override;

C++

virtual void __fastcall SetItemIndex(const int Value)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomCombo

Description

Sets the value of the ItemIndex property.

SetItemIndex is the protected write implementation of the ItemIndex property. It selects an item in the drop-down list.

Value is the item to select, where 0 indicates the first item, 1 indicates the second item, and so on. A negative Value causes all items to be unselected.

See Also