Vcl.StdCtrls.TCustomListBox.SetItemData
Delphi
procedure SetItemData(Index: Integer; AData: TListBoxItemData); dynamic;
C++
DYNAMIC void __fastcall SetItemData(int Index, TListBoxItemData AData);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomListBox |
Description
Sets the 32-bit value associated with the specified item in a list box.
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.