EControl Form Designer Pro
TDualList.ItemIndex Property

Specifies the index of the selected item.

property ItemIndex: integer;

Read ItemIndex to determine which item is selected. The first item in the list has index 0, the second item has index 1, and so on. 

Set ItemIndex programmatically to select an item by passing in the index value. 

If new value less then 0 and ItemCount > 0 then ItemIndex will be 0, 

else if new value exceeds ItemCount-1 then ItemIndex will be ItemCount-1. 

Else ItemIndex will be set to new value.

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!