RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox.GetSelected Method

Indicates whether a particular item is selected.

Pascal
function GetSelected(Index: Integer): Boolean;
C++
__fastcall Boolean GetSelected(int Index);

GetSelected is the protected read implementation of the Selected property. It returns true if the item specified by Index is selected, false if it is not. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!