Vcl.StdCtrls.TListBox.OnData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnData;

C++

__property OnData;

Properties

Type Visibility Source Unit Parent
event published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TListBox

Description

Occurs when a virtual list box needs to supply the text of an item.

Vcl.StdCtrls.TListBox.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.

See Also