API:Vcl.CheckLst.TCheckListBox.OnData
Delphi
property OnData;
C++
__property OnData;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | Vcl.CheckLst.pas Vcl.CheckLst.hpp |
Vcl.CheckLst | TCheckListBox |
Description
Occurs when a virtual list box needs to supply the text of an item.
Vcl.CheckLst.TCheckListBox.OnData inherits from Vcl.StdCtrls.TCustomListBox.OnData. All content below this line refers to Vcl.StdCtrls.TCustomListBox.OnData.
Occurs when a virtual list box needs to supply the text of an item.
You must supply an OnData event handler to dynamically supply the items in the list box when the Style property is lbVirtual or lbVirtualOwnerDraw.
OnData is an event handler of type Vcl.StdCtrls.TLBGetDataEvent.