Vcl.CheckLst.TCheckListBox.SetItemData
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 | TCheckListBox |
Description
Sets the 32-bit value associated with the specified item in a list box. {{#multireplace:Vcl.CheckLst.TCheckListBox.SetItemData|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.StdCtrls.TCustomListBox.SetItemData|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.StdCtrls.TCustomListBox.SetItemData|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.