RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.OnData Event

Occurs immediately before an item is displayed in the list view control.

Pascal
property OnData: TLVOwnerDataEvent;
C++
__property TLVOwnerDataEvent OnData;

Use OnData to customize an item before it is displayed in the list view control. Set the properties of the list item in the event handler so that they appear correctly when the item is drawn. 

OnData occurs only if OwnerData is true. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!