RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox.SetItemIndex Method

Gives focus to the item with a specified index.

Pascal
procedure SetItemIndex(const Value: Integer); override;
C++
virtual __fastcall SetItemIndex(const int Value);

SetItemIndex is the protected write implementation for the ItemIndex property. Value is the index of the item that should receive focus. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!