Vcl.CheckLst.TCustomCheckListBox.SetItemData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

DYNAMIC void __fastcall SetItemData(int Index, NativeInt AData);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.CheckLst.pas
Vcl.CheckLst.hpp
Vcl.CheckLst TCustomCheckListBox

Description

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

Vcl.CheckLst.TCustomCheckListBox.SetItemData inherits from Vcl.StdCtrls.TCustomListBox.SetItemData. All content below this line refers to Vcl.StdCtrls.TCustomListBox.SetItemData.

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