RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox.GetItemData Method

Returns a 32-bit value associated with the specified item in a list box.

Pascal
function GetItemData(Index: Integer): TCustomLongData; dynamic;
C++
__fastcall TCustomLongData GetItemData(int Index);

GetItemData retrieves the data associated with a particular item in the list box. This value can be displayed as that list box item, or can be a value (such as a pointer) associated with the list box item. 

 

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