Vcl.StdCtrls.TCustomListBox.SetItemData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetItemData(Index: Integer; AData: TListBoxItemData); dynamic;

C++

DYNAMIC void __fastcall SetItemData(int Index, NativeInt 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.

See Also