RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCheckListBox.SetItemData Method

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

Pascal
procedure SetItemData(Index: Integer; AData: LongInt); override;
C++
virtual __fastcall SetItemData(int Index, LongInt AData);

Use SetItemData to set the data associated with a particular item in a list box. This value can be displayed as that list box item, or it can be a value (such as a pointer) represented by the list box item. 

 

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